Alexander Zielenski
99c4af2053
enforce that GA apis also have lifecycle tags
2024-05-21 13:27:01 -07:00
Kubernetes Prow Robot
51e8b5cb80
Merge pull request #125019 from wojtek-t/reduced_contention
...
Reduce critical section for watchcache.lock
2024-05-21 12:24:56 -07:00
Kubernetes Prow Robot
0f584a9b86
Merge pull request #124933 from AxeZhan/fix_panic
...
[Scheduler] Use allNodes when calculating nextStartNodeIndex
2024-05-21 10:29:35 -07:00
Daman Arora
9b9a3d780e
test/e2e: add kube-proxy metrics grabber
...
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-21 22:41:23 +05:30
Peter Hunt
ba80f252bf
e2e_node: skip swap tests on cgroupv1
...
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-05-21 11:39:46 -04:00
Daman Arora
bc8b90b07d
pkg/proxy: track localhost nodeport accepted packets
...
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-21 20:09:54 +05:30
Daman Arora
985d64cdbe
add ct_state_invalid_dropped_pkts nfacct counter to unit tests
...
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-21 20:09:47 +05:30
Daman Arora
f7fae7297c
pkg/proxy/metrics: refactor nfacct metrics collection
...
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-21 20:09:39 +05:30
Kubernetes Prow Robot
c0f4879164
Merge pull request #123557 from iholder101/swap/enhance-swap-functests-serial
...
[Swap][Tests][KEP2400] Add swap serial stress tests, improve NodeConformance tests and adapt NoSwap behavior
2024-05-21 05:44:35 -07:00
Wojciech Tyczyński
202b4ffdf0
Reduce critical section for watchcache.lock
2024-05-21 14:00:37 +02:00
Ahmad Zolfaghari
834658cb26
Fix kubectl explain bug when additionalProperties in schema defines as boolean. ( #124506 )
...
* Fix kubectl explain bug when additionalProperties in schema defines as:
`additionalProperties: true` to ignore iterating.
* trigger error on kubectl explain with integration test on crd with non bool additionalfields
* add changes to fix the problem
* replace sleep with loop and retry for kubectl explain integration test
* replaced testdata file with inline create
2024-05-21 04:40:32 -07:00
Kubernetes Prow Robot
44c45484e0
Merge pull request #124465 from neolit123/1.31-add-etcd-livez-readyz
...
kubeadm: use etcd 3.5.11's /livez and /readyz endpoints for probes
2024-05-21 04:40:23 -07:00
ArkaSaha30
2e0ce7960e
Bump govulncheck version to 1.1.0
...
This commit will bump govulncheck version
1.0.1 -> 1.1.0
Additionally, handle govulncheck exit code returned
It will handle the govulncheck exit code returned
which returning 3 instead of 0 with the new v1.1.0
by adding `|| true` so that the verify job does not
fail but logs the go vulnerability found.
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-05-21 16:43:53 +05:30
carlory
8e4a6f3bed
Enables the Portworx in-tree driver to Portworx migration feature by default
2024-05-21 18:50:20 +08:00
Kubernetes Prow Robot
027f346f60
Merge pull request #124926 from kerthcet/feat/sharing-waitingPods
...
enhancement(scheduler): share waitingPods among profiles
2024-05-21 03:37:14 -07:00
carlory
2491560ae5
Remove volumesNeedReportedInUse for reconstructed volumes
2024-05-21 18:23:12 +08:00
Itamar Holder
a6b971f14b
Use kubelet owned directories for mounting rather than /tmp
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 13:18:16 +03:00
Itamar Holder
74f29880bd
Replace log entry by a warning event
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 13:18:16 +03:00
Itamar Holder
29535c0463
Warn of swap is enabled on the OS and tmpfs noswap is not supported
...
When --fail-swap-on=false kubelet CLI argument
is provided, but tmpfs noswap is not supported
by the kernel, warn about the risks of memory-backed
volumes being swapped into disk
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 13:18:16 +03:00
Itamar Holder
e7df4d17c4
Add a isSwapOnAccordingToProcSwaps() function and swap utils unit tests
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 13:18:16 +03:00
Itamar Holder
2a174d09fa
If the kernel version is at least 6.4, assume tmpfs noswap is supported
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 13:18:16 +03:00
Itamar Holder
3b9b03935e
unit test: Use tmpfs noswap if supported
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 13:18:16 +03:00
Itamar Holder
fb6c78c90b
Use tmpfs noswap if supported
...
use the tmpfs noswap option in order
to mount memory-backed volumes if it's supported.
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 13:18:16 +03:00
Kubernetes Prow Robot
8c1983ffc0
Merge pull request #122791 from p0lyn0mial/upstream-cleanup-watch-list-env-var
...
cleanup: replace ENABLE_CLIENT_GO_WATCH_LIST_ALPHA with WatchListClient gate
2024-05-21 02:05:35 -07:00
Itamar Holder
e9b1a5e185
Expect NoSwap on NodeConformance, test LimitedSwap only in serial tests
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
ab5f84e8ed
Refactor: Better pod image, read cgroup file from container
...
- Improve cgroup file read: execute from container instead of host
- Clean unused variables/functions
- BeTrue/BeFalse -> BeTrueBecause/BeFalseBecause
- Use agnhost instread of stress image
- Improve description and fix typo
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
b17050927c
Update node conformance to use NoSwap
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
bdeb80a846
Add serial tests
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
2230ed7dc6
Refactor: helper functions and quantity improvement
...
- Add getSleepingPod() helper function
- Refactor: quantity functions to return resource.quantity instead of int64
- Improve helper functions for memory capacity
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
13403e836a
Fix swap feature gate check by introduting IsFeatureGateEnabled()
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
959d01cbbf
Remove cgroup v1 support for swap tests
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
eb5d647655
Move current test under its own NodeConformance context
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
9f344f23fb
Add NodeSwap as a node feature in nodefeature.go
...
Also, Remove wrong documentation about
tempSetCurrentKubeletConfig() returning bool
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Lukasz Szaszkiewicz
9248cccc27
replace ENABLE_CLIENT_GO_WATCH_LIST_ALPHA with WatchListClient gate
2024-05-21 08:47:31 +02:00
Ziqi Zhao
588b72a942
SyncPod record error and set error status to span when return err is not nil
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
2024-05-21 13:35:56 +08:00
Kubernetes Prow Robot
a70089ab99
Merge pull request #125009 from BenTheElder/make-branch
...
define BRANCH to silence undefined variable warning
2024-05-20 21:56:44 -07:00
AxeZhan
3a2a500182
check restartpolicy in getFinishTimeFromContainers
2024-05-21 11:58:06 +08:00
Kubernetes Prow Robot
b168ad5a31
Merge pull request #125008 from eddiezane/ez/sig-cli-owners
...
Update sig-cli owners
2024-05-20 20:18:56 -07:00
Kubernetes Prow Robot
62aae86899
Merge pull request #125005 from brianpursley/fix-deprecated-ptr
...
Use ptr.To instead of deprecated pointer functions
2024-05-20 18:14:08 -07:00
Benjamin Elder
0973b4b6c4
define BRANCH to silence undefined variable warning
2024-05-20 17:05:52 -07:00
Eddie Zaneski
0ad33b1267
Update sig-cli owners
...
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2024-05-20 17:08:03 -06:00
Kubernetes Prow Robot
765e7ef0d2
Merge pull request #124912 from enj/enj/i/enc_config_typos
...
encryptionconfig: detect typos
2024-05-20 15:40:41 -07:00
Matthias Bertschy
893ab296d7
increase memory limit for e2e test containers
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2024-05-20 22:40:03 +02:00
Brian Pursley
288d132cf6
Use ptr.To instead of deprecated pointer functions
2024-05-20 16:14:54 -04:00
Kubernetes Prow Robot
7b73bc472c
Merge pull request #125002 from jmcgrath207/revert-122631-disable-service-links
...
Revert "DisableServiceLinks admission controller"
2024-05-20 11:39:33 -07:00
Alexander Zielenski
b34197dc14
feedback
2024-05-20 11:21:31 -07:00
John McGrath
e72788d58e
Revert "DisableServiceLinks admission controller"
2024-05-20 12:20:46 -05:00
Kubernetes Prow Robot
56147500da
Merge pull request #124929 from HirazawaUi/remove-unused-proxy-function
...
[kube-proxy]: Remove unused util functions
2024-05-20 10:17:57 -07:00
Kubernetes Prow Robot
31d43ee485
Merge pull request #124867 from p0lyn0mial/upstream-progress-notification-for-waitUntilWatchCacheFreshAndForceAllEvents
...
storage/cacher: waitUntilWatchCacheFreshAndForceAllEvents checks if storage.RequestWatchProgress is supported
2024-05-20 09:12:29 -07:00
Kubernetes Prow Robot
073c1596f2
Merge pull request #124602 from Iceber/fix_discovery_prioritized_versions
...
fix the version order of 'discovery.k8s.io'
2024-05-20 09:12:20 -07:00