Commit Graph

54416 Commits

Author SHA1 Message Date
ndixita
69c1fd72aa API changes for Pod Level IPPR related PodStatus fields 2025-11-11 18:15:17 +00:00
ndixita
6d30134256 Adding InPlacePodLevelResourcesVerticalScaling feature gate 2025-11-11 18:12:33 +00:00
Kubernetes Prow Robot
462ee14a36 Merge pull request #134345 from yuanwang04/restart-pod
Implement RestartAllContainers
2025-11-11 07:18:56 -08:00
Kubernetes Prow Robot
5a26d2af61 Merge pull request #134932 from marosset/windows-unit-tests-winstats-fixes
Fixing unit test flakes in pkg/kubelet/winstats TestCollectMetricsData
2025-11-10 22:52:54 -08:00
Yuan Wang
0b47a37861 Keep pod in running state and prune past container status from runtime 2025-11-11 06:37:49 +00:00
Stanislav Láznička
bb82225998 ImagePulledRecord API: don't serialize nulls
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-11-10 22:32:02 +01:00
Stanislav Láznička
99ceb20173 kubelet/image-manager: pulled images records storage version migration
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-11-10 22:32:01 +01:00
Stanislav Láznička
6fd9878056 kubeletconfig: copy ImagePullIntent, ImagePulledRecord to v1beta1
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-11-10 22:27:14 +01:00
Heba
aceb89debc KEP-5471: Extend tolerations operators (#134665)
* Add numeric operations to tolerations

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* code review feedback

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* add default feature gate

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* Add integration tests

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* Add toleration value validation

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* Add validate options for new operators

Signed-off-by: helayoty <heelayot@microsoft.com>

* Remove log

Signed-off-by: helayoty <heelayot@microsoft.com>

* Update feature gate check

Signed-off-by: helayoty <heelayot@microsoft.com>

* emove IsValidNumericString func

Signed-off-by: helayoty <heelayot@microsoft.com>

* Implement IsDecimalInteger

Signed-off-by: helayoty <heelayot@microsoft.com>

* code review feedback

Signed-off-by: helayoty <heelayot@microsoft.com>

* Add logs to v1/toleration

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
Signed-off-by: helayoty <heelayot@microsoft.com>

* Update integration tests and address code review feedback

Signed-off-by: helayoty <heelayot@microsoft.com>

* Add feature gate to the scheduler framework

Signed-off-by: helayoty <heelayot@microsoft.com>

* Remove extra test

Signed-off-by: helayoty <heelayot@microsoft.com>

* Fix integration test

Signed-off-by: helayoty <heelayot@microsoft.com>

* pass feature gate via TolerationsTolerateTaint

Signed-off-by: helayoty <heelayot@microsoft.com>

---------

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
Signed-off-by: helayoty <heelayot@microsoft.com>
2025-11-10 12:42:54 -08:00
Yuan Wang
aac951d902 Add dependency for NodeDeclaredFeatures 2025-11-10 09:41:02 +00:00
Yuan Wang
97c3f575b9 Refactor validation 2025-11-10 09:41:02 +00:00
Yuan Wang
2eb1eeeabf add disruptive tests 2025-11-10 09:41:02 +00:00
Yuan Wang
83c5cd5526 Implement restartPod action 2025-11-10 09:41:02 +00:00
Kubernetes Prow Robot
d777de7741 Merge pull request #135195 from haircommander/image-volume
KEP 4639: Move ImageVolume to on by default beta
2025-11-09 18:34:53 -08:00
Kubernetes Prow Robot
183892b2c9 Merge pull request #134870 from pmengelbert/pmengelbert/kuberc/4
Add client-go credential plugin to kuberc
2025-11-09 17:26:53 -08:00
Peter Engelbert
fab280950d Add client-go credential plugin to kuberc
Remove reference to internal types in kuberc types

* Remove unserialized types from public APIs

Also remove defaulting

* Don't do conversion gen for plugin policy types

Because the plugin policy types are explicitly allowed to be empty, they
should not affect conversion. The autogenerated conversion functions for
the `Preference` type will leave those fields empty.

* Remove defaulting tests

Comments and simplifications (h/t jordan liggitt)

Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
2025-11-09 14:24:53 -05:00
Kubernetes Prow Robot
609e2e57da Merge pull request #135103 from ania-borowiec/nnn_flag
KEP-5278 Promote NominatedNodeNameForExpectation and ClearingNominatedNodeNameAfterBinding feature gates to beta
2025-11-07 07:41:00 -08:00
Maciej Skoczeń
9c5959e9de Fix failing test for pod group scheduling timeout on Windows 2025-11-07 10:31:47 +00:00
Kubernetes Prow Robot
135db3b1c1 Merge pull request #135153 from SergeyKanzhelev/deviceManagerHealthFix
mark device manager as haelthy before it started for the first time
2025-11-06 17:00:51 -08:00
Kubernetes Prow Robot
0cfbf89e70 Merge pull request #134189 from mortent/NewUpdatePartitionableDevices
Updates to DRA Partitionable Devices feature
2025-11-06 16:10:53 -08:00
Kubernetes Prow Robot
ec5211cedc Merge pull request #135147 from harche/HealhCheckTimeout
DRA: Add configurable health check timeout per device
2025-11-06 15:19:07 -08:00
Kubernetes Prow Robot
6232175b94 Merge pull request #134935 from alaypatel07/refactor-dra-extended-resources
refactor dra extended resources implementation in scheduler plugin
2025-11-06 15:18:59 -08:00
Ania Borowiec
e6d95a7b38 Promote NominatedNodeNameForExpectation and ClearingNominatedNodeNameAfterBinding feature gates to beta 2025-11-06 22:04:03 +00:00
Morten Torkildsen
38b5750e33 DRA: Update allocator for Partitionable Devices 2025-11-06 21:30:01 +00:00
Sascha Grunert
c7b277a32e KEP 4639: Move ImageVolume to on by default beta
Coauthored-by: Sascha Grunert <sgrunert@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2025-11-06 16:26:27 -05:00
Morten Torkildsen
93fc7422ee DRA: Update validation for Partitionable Devices 2025-11-06 21:13:33 +00:00
Morten Torkildsen
ef3f6a2507 Run make update 2025-11-06 21:13:33 +00:00
Morten Torkildsen
e73fd4204d DRA: Update types for Partitionable Devices 2025-11-06 21:13:32 +00:00
Alay Patel
f8ccc4c4d7 dra scheduler plugin: refactor extendeddynamicresources.go for readibility
Signed-off-by: Alay Patel <alayp@nvidia.com>
2025-11-06 15:49:33 -05:00
Richa Banker
8f2c0a9a60 kube-apiserver: Enable peer proxy and peer-aggregated discovery
Wire up peer proxy infrastructure in kube-apiserver:
- Add UnknownVersionInteroperabilityProxy feature gate
- Configure peer proxy with identity lease selectors
- Register CRD and APIService informers with exclusion filters
- Start peer discovery sync and GV cleanup workers

Includes extractors for CRDs and APIServices to identify which
GroupVersions should be excluded from peer discovery.

Part of KEP-4020: Unknown Version Interoperability Proxy
2025-11-06 12:48:19 -08:00
Kubernetes Prow Robot
22962087ec Merge pull request #135186 from pohly/dra-scheduler-unit-test-flake
DRA: fix for scheduler unit test flake + logging
2025-11-06 12:43:23 -08:00
Kubernetes Prow Robot
171d2dacd2 Merge pull request #134893 from HirazawaUi/kep-5607
KEP-5607: Allow hostNetwork pods to use user namespace
2025-11-06 12:43:15 -08:00
Kubernetes Prow Robot
ee0485adb9 Merge pull request #134736 from haircommander/4210-ga
features: bump image gc max age feature to stable
2025-11-06 12:43:07 -08:00
Kubernetes Prow Robot
41fd1b51f6 Merge pull request #134520 from sunya-ch/add-share-id-to-plugin-device
[DRA] Add ShareID to kubelet plugin API
2025-11-06 12:43:00 -08:00
Kubernetes Prow Robot
4cf80c652a Merge pull request #133114 from Apptane/early-image-verification-policy
kubelet: invoke part of image verification policy earlier
2025-11-06 12:42:52 -08:00
Sergey Kanzhelev
2d3e063923 mark device manager as haelthy before it started for the first time 2025-11-06 20:25:01 +00:00
Alay Patel
da9f1d8eed dra scheduler plugin: move extended resources functions into separate file
Signed-off-by: Alay Patel <alayp@nvidia.com>
2025-11-06 14:58:59 -05:00
Kubernetes Prow Robot
fd556dc8ca Merge pull request #135174 from carlory/fix-135089
kubelet: fix concurrent map write error when creating a pod with empty volume
2025-11-06 11:51:20 -08:00
Kubernetes Prow Robot
9cd72862d8 Merge pull request #135166 from lalitc375/fix-sorting
fix sorting logic after after normalizing errors
2025-11-06 11:51:13 -08:00
Kubernetes Prow Robot
5ac53d43a7 Merge pull request #135158 from andrewsykim/pod-topology-admission-beta
Graduate PodTopologyLabelsAdmission feature gate to Beta and on by default
2025-11-06 11:51:06 -08:00
Kubernetes Prow Robot
5815405389 Merge pull request #135044 from hankfreund/clb_fg
Set KubeletCrashLoopBackOffMax feature gate to default enabled for beta.
2025-11-06 11:50:59 -08:00
Kubernetes Prow Robot
14134e03a8 Merge pull request #134058 from bart0sh/PR200-DRA-scoring-extended-resources
Implement scoring for extended resources backed up by DRA
2025-11-06 11:50:52 -08:00
Kubernetes Prow Robot
566525725d Merge pull request #131220 from lukasmetzner/feat-ccm-watch-based-route-controller
feat(ccm): watch-based route controller reconciliation
2025-11-06 10:06:53 -08:00
Patrick Ohly
1c4cab9dda DRA scheduler unit test: fix race with ResourceSlice informer
The test started without waiting for the ResourceSlice informer to have
synced. As a result, the "CEL-runtime-error-for-one-of-three-nodes" test case
failed randomly with a very low flake rate (less than 1% in local runs) because
CEL expressions never got evaluated due to not having the slices (yet).

Other tests also were less reliable, but not known to fail.
2025-11-06 18:40:35 +01:00
Kubernetes Prow Robot
43cd2d207d Merge pull request #134615 from sunya-ch/consumable-capacity-testing-update
DRA: ConsumableCapacity update allocating and registry test cases
2025-11-06 08:29:01 -08:00
Ed Bartosh
fc404b6a3d Cache DRA state for scoring extended resources
Extend Fit and BalancedAllocation PreScore state with the the
allocated state, the list of ResourceSlices and the device class
mapping. Gather these once during PreScore and pass them through
the scoring path instead of re-fetching for every scoring call.

This should speed up scoring of DRA extended resources, lowering
scheduling overhead.

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Co-authored-by: Maciej Skoczeń <mskoczen@google.com>
Co-authored-by: Dominik Marciński <gmidon@gmail.com>
2025-11-06 18:09:11 +02:00
Kubernetes Prow Robot
544dfee60a Merge pull request #135180 from macsko/fix_asyncapicalls_onfinish
Fix sending OnFinish to in-flight async API calls in scheduler
2025-11-06 06:51:02 -08:00
HirazawaUi
e986000e6a KEP-5607: Allow hostNetwork pods to use user namespaces 2025-11-06 22:45:36 +08:00
Andrew Sy Kim
54702182c2 graduate PodTopologyLabelsAdmission feature gate to Beta and on by default
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2025-11-06 14:42:32 +00:00
Maciej Skoczeń
a9dcc8e2c9 Fix sending OnFinish to in-flight async API calls in scheduler 2025-11-06 12:00:37 +00:00