Commit Graph

129291 Commits

Author SHA1 Message Date
James Munnelly
6ddabb6ee6 updating to reflect latest KEP design 2025-03-20 20:19:53 +00:00
James Munnelly
5e7e1e7cf1 KEP-4742: Node Topology Labels via Downward API 2025-03-20 20:19:51 +00:00
Kubernetes Prow Robot
e3baee37cd
Merge pull request #130944 from danwinship/prefersame-integration-test
integration testing for PreferSameZone/PreferSameNode
2025-03-20 13:09:17 -07:00
Kubernetes Prow Robot
2850abd029
Merge pull request #130943 from liggitt/logs-handler-flag-help
Ensure --enable-logs-handler help appears in kube-apiserver help
2025-03-20 13:09:07 -07:00
Kubernetes Prow Robot
52ab771774
Merge pull request #130917 from vinaykul/ippr-mem-req-ucr
Invoke UpdateContainerResources or trigger container restarts when memory requests are resized
2025-03-20 13:08:56 -07:00
Kubernetes Prow Robot
322083c948
Merge pull request #130772 from macsko/pop_from_backoffq_when_activeq_is_empty_new
Pop from backoffQ when activeQ is empty
2025-03-20 13:08:47 -07:00
Kubernetes Prow Robot
2546557012
Merge pull request #130621 from sreeram-venkitesh/4818-sleep-action-zero-value-beta-graduation
KEP 4818: PodLifecycleSleepActionAllowZero to Beta
2025-03-20 13:08:39 -07:00
Kubernetes Prow Robot
48ba25a464
Merge pull request #127484 from haircommander/userns-off-e2e
e2e_node: add a test to verify kubelet fails to create pod if userns isn't supported
2025-03-20 13:08:32 -07:00
Haowei Cai
67bdfa7d6e Add alpha feature gate KubeletPSI 2025-03-20 19:25:08 +00:00
Benjamin Elder
3b3df8ba72 CI integration scripts: reduce log noise from installing etcd 2025-03-20 11:59:32 -07:00
Patrick Ohly
cfb9486417 DRA taint eviction: avoid nil panic
The timed worker queue actually can have nil entries in its map if the work was
kicked off immediately. This looks like an unnecessary special case (it would
be fine to call AfterFunc with a duration <= 0 and it would do the right
thing), but to avoid more sweeping changes the fix consists of documenting this
special behavior and adding a nil check.
2025-03-20 19:49:54 +01:00
Patrick Ohly
56adcd06f3 DRA device eviction: fix eviction triggered by pod scheduling
Normally the scheduler shouldn't schedule when there is a taint, but perhaps it
didn't know yet.

The TestEviction/update test covered this, but only failed under the right
timing conditions. The new event handler test case covers it reliably.
2025-03-20 19:49:54 +01:00
Kubernetes Prow Robot
03e818744a
Merge pull request #130937 from serathius/watchcache-unify-delegate-list
Unify should delegate list
2025-03-20 11:25:21 -07:00
Kubernetes Prow Robot
17ecb5c974
Merge pull request #130935 from aramase/aramase/c/windows_servercore_ltsc2025
Add ltsc2025 for windows-servercore-cache test image
2025-03-20 11:25:11 -07:00
Kubernetes Prow Robot
2ee063dae0
Merge pull request #130667 from Chulong-Li/fix
Adjust the test logic on TestGetStaticPodToMirrorPodMap
2025-03-20 11:24:56 -07:00
Kubernetes Prow Robot
6bc352f6a9
Merge pull request #130535 from ffromani/cpumanager-policy-options-ga
node: kep-2625: cpu manager policy options GA
2025-03-20 11:24:46 -07:00
Kubernetes Prow Robot
451d032915
Merge pull request #130210 from everpeace/KEP-3619-promote-SupplementalGroupsPolicy-to-Beta
KEP-3619: Promote SupplementalGroupsPolicy feature to Beta
2025-03-20 11:24:37 -07:00
Kubernetes Prow Robot
e9eff7445e
Merge pull request #128516 from gjkim42/group-container-statuses-by-its-sandboxid
Ensure that the pod has proper phase upon re-initialization
2025-03-20 11:24:31 -07:00
Kevin Torres
7b38bff6ec Move pod level hugepage test from e2e to e2e node 2025-03-20 17:54:40 +00:00
Kevin Torres
98e362c049 Revert "Pod level hugepage for cgroup when unset in container"
This reverts commit f0a14732371cb6f9521567b3fad564d8a8360bd7 and kuberuntime_container_linux_test.go change.
2025-03-20 17:54:40 +00:00
Kevin Torres
fd50d9207f End to end tests for pod level hugepage resources 2025-03-20 17:54:40 +00:00
Kevin Torres
b9e0d4ad66 Unit tests for pod level hugepage resources 2025-03-20 17:54:39 +00:00
Kevin Torres
51db93c3fb Use pod level hugepage limits for cgroup when unset in container 2025-03-20 17:54:39 +00:00
Kevin Torres
e3f4c6e62a Containers with hugepage volume mounts with unset hugepage limits 2025-03-20 17:54:39 +00:00
Kevin Torres
aa17082a16 Default pod level hugepage limits 2025-03-20 17:54:39 +00:00
Kevin Torres
e5020285fa Hugepages to pod level supported resources 2025-03-20 17:54:23 +00:00
Patrick Ohly
5856d3ee6f DRA taint eviction: fix waiting in unit test
Events get recorded in the apiserver asynchronously, so even if the test knows
that the event has been evicted because the pod is deleted, it still has to
also check for the event to be recorded.

This caused a flake in the "Consistently" check of events.
2025-03-20 17:59:48 +01:00
Patrick Ohly
ac6e47cb14 DRA taint eviction: improve error handling
There was one error path that led to a "controller has shut down" log
message. Other errors caused different log entries or are so unlikely (event
handler registration failure!) that they weren't checked at all.

It's clearer to let Run return an error in all cases and then log the
"controller has shut down" error at the call site. This also enables tests to
mark themselves as failed, should that ever happen.
2025-03-20 17:59:06 +01:00
Kubernetes Prow Robot
caf03a8652
Merge pull request #130798 from haircommander/proc-mount-default
[KEP-4265]: features: bump proc mount to on by default beta
2025-03-20 09:22:50 -07:00
Kubernetes Prow Robot
9193be3aec
Merge pull request #130383 from toVersus/chore/e2e-node-aghnhost
[e2e/node] update base image from busybox to agnhost
2025-03-20 09:22:40 -07:00
Kubernetes Prow Robot
2dafb0eefe
Merge pull request #130375 from googs1025/feature/integration_filter_NodeResources
chore(scheduler): add filter integration tests for missing part plugins: NodeResources plugin
2025-03-20 09:22:31 -07:00
vinay kulkarni
d62e766dad Fix function comment 2025-03-20 16:13:45 +00:00
Maciej Skoczeń
c7919f5e22 Pop from the backoffQ when the activeQ is empty 2025-03-20 16:07:13 +00:00
Harish Kuna
a67cc3aac1 Reduce locking duration on cache to fetch data in DaemonSet Controller 2025-03-20 16:00:27 +00:00
Dan Winship
b726f2cf57 Add an integration test for PreferSameTrafficDistribution 2025-03-20 11:43:12 -04:00
Dan Winship
919c2b478e Refactor TrafficDistribution integration test
Split out a helper to assert correct EndpointSlice hints (and extend
that helper to deal with node hints as well, including making sure
they *aren't* present when the traffic distribution mode doesn't call
for them).
2025-03-20 11:43:12 -04:00
Dan Winship
64034307c2 Fix comments in TrafficDistribution integration test 2025-03-20 11:43:12 -04:00
Sreeram
323d55e67f Rerun update-featuregates.sh 2025-03-20 21:12:45 +05:30
Jordan Liggitt
c10dc41681
Ensure --enable-logs-handler help appears in kube-apiserver help 2025-03-20 11:11:16 -04:00
Kubernetes Prow Robot
a01fdf97ab
Merge pull request #130941 from pohly/dra-e2e-manage-resourceslices-shared-counters
DRA E2E: fix "cluster must manage ResourceSlices" test
2025-03-20 07:52:40 -07:00
Kubernetes Prow Robot
41dd679fee
Merge pull request #130920 from kerthcet/feat/promote-to-ga
KEP-3094: Promote NodeInclusionPolicyInPodTopologySpread to Stable
2025-03-20 07:52:32 -07:00
Sreeram
3043fbc3da Added feature gate to unit test 2025-03-20 19:36:10 +05:30
Sreeram
c0a1489bc8 Fix unit tests 2025-03-20 19:36:10 +05:30
Sreeram
d46050aa5d PodLifecycleSleepActionAllowZero to Beta 2025-03-20 19:36:07 +05:30
Marek Siarkowicz
8fdd6fe476 Unify should delegate list 2025-03-20 15:03:03 +01:00
Peter Hunt
8b4aab5451 e2e_node: add a test to verify kubelet fails to create pod if userns isn't supported
and the pod requests a user namespace

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2025-03-20 09:34:59 -04:00
Peter Hunt
a6494ec313 features: bump proc mount to on by default beta
following user namespaces

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2025-03-20 09:27:19 -04:00
Kubernetes Prow Robot
aa35eff1b6
Merge pull request #130423 from serathius/watchcache-continue
Serve LISTs with exact RV and continuations from cache
2025-03-20 06:18:32 -07:00
Chulong Li
3701f878d6 Fix the logic on TestGetStaticPodToMirrorPodMap
Fix the logic on TestGetStaticPodToMirrorPodMap

Add back the length check logic
2025-03-20 20:46:13 +08:00
Patrick Ohly
2d05c3849a DRA E2E: fix "cluster must manage ResourceSlices" test
Adding SharedCounters broke the test and wasn't detected in the presubmit
because the test is slow and didn't run.

We could add a "SharedCounters is empty" clause, but probably it is safer
to be less strict in the test and tolerate unknown fields. This will also
minimize the work which needs to be done in the v1beta2 PR.
2025-03-20 13:40:43 +01:00