Commit graph

133919 commits

Author SHA1 Message Date
Ed Bartosh
edbc32fa60 DRA: implement scoring for extended resources
Updated extended resource allocation scorer to calculate
allocatable and requested values for DRA-backed resources.
2025-11-06 10:40:52 +02:00
Kubernetes Prow Robot
b07d0f852d
Merge pull request #135168 from pohly/e2e-node-registry-flake
E2E node: temporarily disable flaky "pull from private registry"
2025-11-05 23:42:51 -08:00
Kubernetes Prow Robot
6723beac00
Merge pull request #135154 from kubernetes/revert-134840-ahmet/mini-cleanup
Revert "controller: duplicate utility method cleanup"
2025-11-05 22:49:04 -08:00
Kubernetes Prow Robot
0cd85c6fe1
Merge pull request #135123 from yongruilin/fix-ratcheting
feat(validation-gen): Improve ratcheting logic for nil vs. uncorrelated fields
2025-11-05 22:48:57 -08:00
Kubernetes Prow Robot
37934c5c26
Merge pull request #134890 from SataQiu/kubeadm-support-etcd-http-endpoints
kubeadm: support specifying HTTP endpoints for external etcd, allowing users to separate gRPC and HTTP traffic for etcd
2025-11-05 22:48:50 -08:00
Patrick Ohly
1499524e8e E2E node: temporarily disable flaky "pull from private registry"
This considerably impacts the ability to merge PRs right now because it fails
in the merge-blocking pull-kubernetes-node-e2e-containerd. Attempts to fix
it seem to be incomplete and need further
discussion (https://github.com/kubernetes/kubernetes/pull/135142),
so let's instead disable the test in the job.
2025-11-06 07:48:42 +01:00
Kubernetes Prow Robot
84d0e616da
Merge pull request #135157 from BenTheElder/cleanup-min
Cleanup MinimumKubeletVersion test tag for unsupported kubelet versions
2025-11-05 21:57:26 -08:00
Kubernetes Prow Robot
2ab10e6ba6
Merge pull request #135155 from jpbetz/fix-additionalproperties-npe
Fix NPE in CEL schema wrappers of additionalProperties=true objects
2025-11-05 21:57:18 -08:00
Kubernetes Prow Robot
ca03752ee7
Merge pull request #135104 from mimowo/mutable-job-directives
Allow mutable job scheduling directives on suspended Jobs
2025-11-05 21:57:11 -08:00
Kubernetes Prow Robot
7537d52c2e
Merge pull request #134882 from yliaog/initcon
Fix non-sidecar init container device requests
2025-11-05 21:57:04 -08:00
Kubernetes Prow Robot
f465916b85
Merge pull request #134790 from yt2985/podcertificate-e2e
Promote Pod Certificates feature to beta-with metrics/events and e2e tests.
2025-11-05 21:56:57 -08:00
Kubernetes Prow Robot
0decbf4405
Merge pull request #134414 from HirazawaUi/promote-3721-to-beta
KEP-3721: Promote EnvFiles feature gate to Beta
2025-11-05 21:56:50 -08:00
Kubernetes Prow Robot
4ffafaea9c
Merge pull request #135146 from princepereira/ppereira-remoteep-leak
kube-proxy/winkernel: fix stale RemoteEndpoints due to premature clearing of terminatedEndpoints map
2025-11-05 18:53:12 -08:00
Kubernetes Prow Robot
c35cd16295
Merge pull request #135088 from everpeace/KEP-3619-GA
KEP-3619: Promote SupplementalGroupspolicy feature To GA
2025-11-05 18:53:05 -08:00
Kubernetes Prow Robot
f025bcace9
Merge pull request #135068 from pohly/dra-device-taints-1.35-full
DRA device taint eviction: several improvements
2025-11-05 18:52:58 -08:00
Kubernetes Prow Robot
f9815839be
Merge pull request #135031 from yuanwang04/static-pod-options
Add validation options for static pod
2025-11-05 18:52:51 -08:00
HirazawaUi
192d93f7cb add e2e tests for static pod and standalone mode 2025-11-06 09:18:23 +08:00
HirazawaUi
879d81ff06 promote EnvFiles to beta 2025-11-06 09:17:42 +08:00
HirazawaUi
0976b6ada3 Improve env file syntax 2025-11-06 09:17:42 +08:00
yongruilin
47fb373c31 run update-codegen.sh 2025-11-06 00:54:52 +00:00
yongruilin
a5a2cfdb35 fix(validation-gen): Correct ratcheting for uncorrelated old values
The validation ratcheting logic failed to distinguish between a field that was explicitly nil and a field that was absent in the old object (uncorrelated). safe.Field() returns nil in both scenarios.

This caused validation to be incorrectly skipped for oldObj that cannot be found during an update, as the logic treated the (nil, nil) old/new value pair as unchanged.

This commit introduces an oldValueCorrelated boolean flag to the generated validation functions. This flag is set to false when the parent of the old object is nil, signaling that a corresponding old value could not be found. The ratcheting check is now conditioned on this flag, ensuring that validation proceeds correctly.
2025-11-06 00:54:48 +00:00
Kubernetes Prow Robot
9a5193796b
Merge pull request #134825 from natasha41575/resize-events
[InPlacePodVerticalScaling] emit more events when the pod resize status changes
2025-11-05 15:56:50 -08:00
yliao
6676982316 fixed non-sidecar init container device requests and mappings 2025-11-05 22:48:50 +00:00
Natasha Sarkar
4eb0d39bf5 emit more events when the pod resize status changes 2025-11-05 22:42:36 +00:00
Benjamin Elder
481f30bd64 hack/update-conformance-yaml.sh 2025-11-05 14:27:15 -08:00
Benjamin Elder
30965ea3ce drop MinimumKubeletVersion for unsupported kubelet versions
Versions 1.20, 1.21, 1.22, 1.23, 1.27 are all well out of support
2025-11-05 14:25:20 -08:00
Kubernetes Prow Robot
11787f5c93
Merge pull request #135151 from natasha41575/fix-ippr-conformance
add minimum kubelet version for ippr tests
2025-11-05 14:17:05 -08:00
Kubernetes Prow Robot
cf37f0bf49
Merge pull request #135037 from yliaog/extendedresourcecache
pick one device class deterministically for extended resource
2025-11-05 14:16:58 -08:00
Kubernetes Prow Robot
738475f9e2
Merge pull request #134991 from yliaog/class_events
added device class add/update events to noderesources plugin when DRAExtendedResource feature is enabled
2025-11-05 14:16:51 -08:00
Joe Betz
da6d15adf6 Fix NPE in CEl accessors of additionalProperties=true objects 2025-11-05 15:46:36 -05:00
Kubernetes Prow Robot
799572b8db
Merge pull request #134711 from mortent/SimpleScoringForPrioritizedList
DRA: Add scoring for Prioritized List feature
2025-11-05 12:36:51 -08:00
yongruilin
030d72959e feat(validation-gen): Refactor testscheme and add ratcheting bug tests
Refactors the ValidationTester in testscheme to make update validation implicit. Calling .OldValue() now automatically triggers update validation, removing the need to pass an explicit operation type and simplifying the test-writing API.

This is applied to new tests that demonstrate a validation ratcheting bug where validation is incorrectly skipped when comparing a nil old value with a new value. The tests cover list items and struct fields to ensure the fix will be verified.
2025-11-05 20:09:08 +00:00
Maciej Szulik
499bff4ca4
Revert "controller: duplicate utility method cleanup" 2025-11-05 21:06:09 +01:00
Michał Woźniak
5a7c90fb76 Allow mutable scheduling directives for suspended Jobs 2025-11-05 19:37:33 +00:00
Kubernetes Prow Robot
189b0052a5
Merge pull request #135100 from HirazawaUi/fix-3257
Fix potential dryrun failure when NodeLocalCRISocket reaches GA
2025-11-05 11:26:57 -08:00
Kubernetes Prow Robot
36622966a8
Merge pull request #132441 from kannon92/poc-job-relax-pod-template
[KEP-5440]: MutablePodResourcesForSuspendedJobs
2025-11-05 11:26:50 -08:00
Patrick Ohly
60744fc8b9 DRA device taint eviction: track evicting rules
This avoids having to call the rule lister (which theoretically, but not in
practice) fail and having to iterate over rules which can be ignored (might be
a small performance boost).
2025-11-05 20:03:17 +01:00
Patrick Ohly
9527987293 DRA device taint eviction: use NOP queue during simulation
It's slightly more efficient and a bit cleaner.
2025-11-05 20:03:17 +01:00
Patrick Ohly
eaee6b6bce DRA device taints: add separate feature gate for rules
Support for DeviceTaintRules depends on a significant amount of
additional code:
- ResourceSlice tracker is a NOP without it.
- Additional informers and corresponding permissions in scheduler and controller.
- Controller code for handling status.

Not all users necessarily need DeviceTaintRules, so adding a second feature
gate for that code makes it possible to limit the blast radius of bugs in that
code without having to turn off device taints and tolerations entirely.
2025-11-05 20:03:17 +01:00
Natasha Sarkar
8d823b6523 add minimum kubelet version for ippr tests 2025-11-05 18:59:10 +00:00
tinatingyu
3f8444210c Add e2e tests, metrics and events for podcertificaterequests v1beta1 2025-11-05 18:12:39 +00:00
Kubernetes Release Robot
53df4f9be6 CHANGELOG: Update directory for v1.35.0-alpha.3 release 2025-11-05 17:52:39 +00:00
Kubernetes Prow Robot
3395c5358c
Merge pull request #135012 from gnufied/volume-limits-redux-cas
Do not schedule pods to a node without CSI driver
2025-11-05 09:42:58 -08:00
Kubernetes Prow Robot
6bcac876f8
Merge pull request #134230 from Jefftree/agg-v2beta1-lock
Lock AggregatedDiscoveryRemoveBetaType to true
2025-11-05 09:42:51 -08:00
Morten Torkildsen
fbfeb33231 DRA: Add scoring for Prioritized List feature 2025-11-05 17:18:38 +00:00
Prince Pereira
a49bc6f2fb kube-proxy/winkernel: fix stale RemoteEndpoints due to premature clearing of terminatedEndpoints map. 2025-11-05 16:23:43 +00:00
Kubernetes Prow Robot
26a2945d5d
Merge pull request #135072 from Jefftree/graceful-queue
Gracefully shutdown typed queue
2025-11-05 08:07:05 -08:00
Kubernetes Prow Robot
9ef1a14d68
Merge pull request #134840 from ahmetb/ahmet/mini-cleanup
controller: duplicate utility method cleanup
2025-11-05 08:06:58 -08:00
Kubernetes Prow Robot
fc1def6e32
Merge pull request #132812 from stlaz/ensure-secret-images-metrics2
kubelet: add metrics related to image pull records
2025-11-05 08:06:51 -08:00
HirazawaUi
79dc7908ff Fix potential dryrun failure when NodeLocalCRISocket reaches GA 2025-11-05 23:46:03 +08:00