Commit Graph

129167 Commits

Author SHA1 Message Date
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
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
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
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
Natasha Sarkar
16abcd78bd
[FG:InPlacePodVerticalScaling] surface pod resize actuation errors in pod resize conditions (#130902)
* surface pod resize actuation errors in pod resize conditions

* update kubelet unit tests

* fix all other kubelet unit tests

* fix linter error

* address feedback

* fix test failure
2025-03-19 20:12:54 -07:00
Kubernetes Prow Robot
d8607b91a7
Merge pull request #130764 from cici37/partitionableDevice
[KEP-4815]DRA Partitionable device
2025-03-19 20:12:47 -07:00
Kubernetes Prow Robot
68b456b76f
Merge pull request #129713 from HirazawaUi/promote-DisableNodeKubeProxyVersion-to-default
Promote the DisableNodeKubeProxyVersion feature gate to be enabled by default
2025-03-19 20:12:40 -07:00
Kubernetes Prow Robot
ba742a9aec
Merge pull request #129574 from p-shah256/imagefs-tests
Separate SeparateDiskTests from eviction
2025-03-19 20:12:33 -07:00
euiseok
bfaa2496b2 Remove SidecarContainer feature-gate check 2025-03-20 11:46:00 +09:00
Kubernetes Prow Robot
ce87977639
Merge pull request #130916 from richabanker/oidc-flags-v3
Remove mutation of authn options by binding flag setters to a tracking bool in options
2025-03-19 19:04:37 -07:00
Kubernetes Prow Robot
e87e840413
Merge pull request #130880 from tallclair/ippr-allocatable
[FG:InPlacePodVerticalScaling] Add back `AllocatedResources` and use it for scheduling
2025-03-19 19:04:30 -07:00
Kubernetes Prow Robot
b4c6895d0b
Merge pull request #130930 from siyuanfoundation/help
chore: update emulation version help msg.
2025-03-19 17:54:58 -07:00
Kubernetes Prow Robot
63bd581695
Merge pull request #130908 from BenTheElder/test-labels-match
Implement WithFeatureGate label proposal
2025-03-19 17:54:51 -07:00
Kubernetes Prow Robot
1704c52a2e
Merge pull request #130726 from rata/userns-e2e-kubelet-mappings
Userns: Add e2e tests for custom kubelet mappings, skip on windows and minor improvements
2025-03-19 17:54:43 -07:00
Kubernetes Prow Robot
6ec6faad61
Merge pull request #130681 from saschagrunert/image-volume-subpath-e2e
[KEP-4639] Image volume subpath e2e
2025-03-19 17:54:36 -07:00
Kubernetes Prow Robot
26b1d3424a
Merge pull request #129893 from simonfogliato/kubelet-log-permissions
Use uncompressed kubelet log file permissions when compressed.
2025-03-19 17:54:30 -07:00
Cici Huang
f04cfdf6e7 Update gofmt. 2025-03-19 23:21:30 +00:00
Kubernetes Prow Robot
648620da0e
Merge pull request #130541 from swatisehgal/distribute-across-numa-beta-graduation
node: cpu-mgr: Graduation of `distribute-cpus-across-numa` policy option to Beta
2025-03-19 16:12:33 -07:00
HirazawaUi
39d6396aea Promote the DisableNodeKubeProxyVersion feature gate to be enabled by default. 2025-03-20 07:03:12 +08:00
Tim Allclair
c292772710 Consider AllocatableResources when computing pod requests 2025-03-19 16:00:05 -07:00
Tim Allclair
aba588cd14 Deprecate IPPVSAllocatedStatus: always set allocatedResources with InPlacePodVerticalScaling 2025-03-19 16:00:02 -07:00
Benjamin Elder
798ce5bde2 e2e framework: add BetaDefaultOff feature gate testcase 2025-03-19 15:36:47 -07:00
Benjamin Elder
507621e0da implement WithFeatureGate label proposal
Ginkgo label changes:
- Feature:Alpha => Alpha
- Feature:Beta => Beta
- Feature:OffByDefault mirrored to labels from test name
- BetaOffByDefault label added
2025-03-19 15:19:28 -07:00
Cici Huang
ea2f888109 Auto gen 2025-03-19 22:10:48 +00:00
Cici Huang
6d7f11689d Complete feature impl, fix issues, add perDeviceNodeSelection support, add tests, address comments, etc. 2025-03-19 22:10:48 +00:00
Morten Torkildsen
ecba6cde1d Allocator updates 2025-03-19 22:10:48 +00:00
Cici Huang
ece1d76e80 API manual changes
Co-authored-by: Morten Torkildsen <mortent@google.com>
2025-03-19 22:10:48 +00:00
Morten Torkildsen
deaaa124a5 DRA: Feature gate for Partitionable Devices
Co-authored-by: cici37 <cicih@google.com>
2025-03-19 22:10:48 +00:00
Richa Banker
baaa38c099 Remove mutation of authn options by binding flag setters to a tracking boolean in options 2025-03-19 14:51:19 -07:00
Kubernetes Prow Robot
67bdb110b4
Merge pull request #130121 from yongruilin/featuregate-unversion-clean
[compatibility version] clean using unversioned featuregate
2025-03-19 14:34:30 -07:00
Siyuan Zhang
0ec6566c68 chore: update emulation version help msg.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-03-19 13:07:19 -07:00
yongruilin
a2c739f3d5 chore: [e2e/framework] Updates test feature gates to versioned feature gates 2025-03-19 20:02:55 +00:00
yongruilin
7b5cbbb961 chore: Remove unused unversioned feature gate map by consolidating feature gate files 2025-03-19 20:02:53 +00:00
Kubernetes Prow Robot
664d405816
Merge pull request #130876 from rzlink/feature
[KEP-5100] WinDSR to Beta
2025-03-19 13:00:55 -07:00
Kubernetes Prow Robot
68ba091fca
Merge pull request #130844 from danwinship/improved-traffic-distribution
KEP-3015 PreferSameZone/PreferSameNode traffic distribution
2025-03-19 13:00:48 -07:00
Kubernetes Prow Robot
5c4071cc1d
Merge pull request #130649 from natasha41575/pod-conditions-scheduler
[FG:PodObservedGenerationTracking] scheduler sets observedGeneration on pod conditions
2025-03-19 13:00:40 -07:00
Kubernetes Prow Robot
ab3cec0701
Merge pull request #130447 from pohly/dra-device-taints
device taints and tolerations (KEP 5055)
2025-03-19 13:00:32 -07:00
Sascha Grunert
d7ed3f1c9b
Add image volume subpath e2e tests
Adding new test cases for subpath handling for image volumes.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-03-19 20:15:32 +01:00
Kubernetes Prow Robot
1039822a74
Merge pull request #130491 from swatisehgal/cpu-allocation-numa-spread-metric
Add metrics to capture CPU allocation spread across NUMA nodes
2025-03-19 11:52:40 -07:00
Kubernetes Prow Robot
076c7b0b65
Merge pull request #130079 from yongruilin/compatibility-remove-reset
[compatibility version] Avoid resetting config when adding flags
2025-03-19 11:52:33 -07:00
Swati Sehgal
ba09a97341 node: cpu-mgr: Graduation of distribute-cpus-across-numa to Beta
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-03-19 18:36:01 +00:00
Kubernetes Prow Robot
f9b27edf39
Merge pull request #130925 from serathius/watchcache-snapshotter-interface
Create Snapshotter interface to fake the implementation
2025-03-19 10:19:38 -07:00
Kubernetes Prow Robot
593906d607
Merge pull request #130924 from serathius/watchcache-delegate-precedense
Change precedence order for continue and legacy exact match
2025-03-19 10:19:30 -07:00
Kubernetes Prow Robot
32260dfa7b
Merge pull request #130922 from serathius/watchcache-delegate-state
Extend shouldDelegateList testing incorportating state of cacher
2025-03-19 10:19:23 -07:00
Kubernetes Prow Robot
e5558a81c9
Merge pull request #130899 from serathius/watchcache-error
Implement watchcache returning error from etcd that caused cache reinitialization
2025-03-19 10:19:13 -07:00
Kubernetes Prow Robot
fba63656c9
Merge pull request #130498 from swatisehgal/distribute-across-numa-e2e-tests
node: cpumgr: e2e: Tests for `distribute-cpus-across-numa` policy option
2025-03-19 10:19:06 -07:00