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
googs1025
ca42addbdf
chore(scheduler): add filter integration tests for missing part plugins: NodeResources plugin
2025-03-20 19:47:52 +08:00
Patrick Ohly
2a9a3ea827
test: switch gotestsum quiet output format
...
"--format standard-quiet" shows log output on stderr (= klog logging) if it
occurs outside of a test (= test has leaked something). That is inconsistent
with "go test" without -v and a problem for pull-kubernetes-unit because many
tests do not clean up properly.
"pkgname-and-test-fails" hides the extra output and seems similar enough:
pkgname-and-test-fails print a line for each package and failed test output
$ gotestsum --format pkgname-and-test-fails ./test/internal/logging --count=1
✓ test/internal/logging (5.007s)
DONE 1 tests in 5.384s
2025-03-20 12:09:44 +01:00
Kubernetes Prow Robot
473533adaa
Merge pull request #130638 from A-transformer/fix_typo_matchexpressions
...
fix typo
2025-03-20 03:52:38 -07:00
Kubernetes Prow Robot
08570c779b
Merge pull request #130276 from stlaz/svm_flakes
...
Fix SVM test flaking because of occasional slow resource storage update
2025-03-20 03:52:31 -07:00
Marek Siarkowicz
f82c9e56d9
Serve LISTs with exact RV and continuations from cache
2025-03-20 09:42:18 +01:00
Gunju Kim
657ccc3099
Ensure that the pod has the proper phase upon re-initialization
...
This fixes the pod with restartable init containers to have a proper
phase after the pod sandbox re-creation.
Currently, the `runtime.PodStatus` cannot retrieve the active container
statuses, which are the container statuses associated with the current
pod sandbox. This adds the `ActiveContainerStatuses` to
`runtime.PodStatus`, allowing it to include the container statuses of
the current pod sandbox, and fixes the kubelet to correctly set the pod
Phase to `Pending` when no active regular containers are present.
2025-03-20 17:38:41 +09:00
Kubernetes Prow Robot
6b8e5a9457
Merge pull request #130931 from nojnhuh/dra-vap-e2e
...
Remove unused VAP for DRA admin access e2e test
2025-03-20 01:36:51 -07:00
Kubernetes Prow Robot
10bdb0a155
Merge pull request #130768 from es-ma-n/es-ma-n-remove-sidecar-feature-gate-check
...
Remove feature-gate checks for SidecarContainers(GA)
2025-03-20 01:36:42 -07:00
Kubernetes Prow Robot
65d9066665
Merge pull request #130680 from macsko/update_backoffq_less_function_to_order_by_priority_in_windows
...
Update backoffQ's less function to order pods by priority in windows
2025-03-20 01:36:31 -07:00
Francesco Romani
3c7ed00e22
node: kep-2625: cpu manager policy options GA
...
Move the support for CPUManager Policy Options to GA
Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-03-20 08:31:32 +01:00
kerthcet
1a34095f75
KEP-3094 Promote NodeInclusionPolicyInPodTopologySpread to Stable
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2025-03-20 14:54:42 +08:00
vinay kulkarni
1208f25b3f
Verify oom_score_adj for containers that have been restarted in pod resize e2e
2025-03-20 05:57:41 +00:00
Shingo Omura
c6d6e0414c
KEP-3619: rename variable in TestPodAdmissionBasedOnSupplementalGroupsPolicy
2025-03-20 13:46:04 +09:00
Shingo Omura
586af6b568
KEP-3619: move SupplementalGroupsPolicy e2e test from /e2e/node/ to /e2e/common/node/
2025-03-20 13:46:01 +09:00
Shingo Omura
4055b1a9b5
KEP-3619: update e2e test to check a pod with SupplementalGroupsPolicy=Strict should be rejected when the node does not support the feature
2025-03-20 13:45:23 +09:00
Shingo Omura
eda274ed7e
KEP-3619: merge SupplementalGroupsPolicy dedicated validation tests into standard ones
2025-03-20 13:45:22 +09:00
Shingo Omura
64a4e34989
KEP-3619: fix field path in validating ContainerUsers in PodStatusUpdate
2025-03-20 13:45:22 +09:00
Shingo Omura
2a0e51825b
KEP-3619: kubelet now rejects Pods with SupplementalGroupsPolicy=Strict on Nodes not supported this feature.
2025-03-20 13:45:22 +09:00
Shingo Omura
45846f6b4e
KEP-3619: Set Beta for SupplementalGroupsPolicy featuregate in v1.33
2025-03-20 13:45:21 +09:00