Commit Graph

54429 Commits

Author SHA1 Message Date
Ed Bartosh
4822f77879 kubelet: migrate allocation to contextual logging 2025-11-12 21:50:24 +02:00
Kubernetes Prow Robot
9673a7fbf1 Merge pull request #132919 from ndixita/pod-level-in-place-pod-resize
Pod level in place pod resize - alpha
2025-11-12 07:59:41 -08:00
ndixita
5ac2ffcc1e Enabling NodeDeclaredFeatures in unit tests
Signed-off-by: ndixita <ndixita@google.com>
2025-11-12 08:26:15 +00:00
Praveen Krishna
0e883083bf Add InPlacePodLevelResourcesVerticalScaling declared feature. 2025-11-12 07:22:51 +00:00
ndixita
10b73f8ef9 Test fixes
Signed-off-by: ndixita <ndixita@google.com>
2025-11-12 06:21:06 +00:00
ndixita
8920eb9107 Unit test for AddPod with PLR resources
Signed-off-by: ndixita <ndixita@google.com>
2025-11-11 18:19:10 +00:00
Kevin Torres
66248c262c Unit tests for allocation manager 2025-11-11 18:19:10 +00:00
ndixita
edc3b77cf8 Kubelet changes and unit tests
Signed-off-by: ndixita <ndixita@google.com>
2025-11-11 18:19:07 +00:00
ndixita
11ff4efcde Kubelet changes to support IPPR + PodLevelResources
Signed-off-by: ndixita <ndixita@google.com>
2025-11-11 18:17:28 +00:00
ndixita
7645eb70e9 Scheduler changes to support pod level resources in place resize 2025-11-11 18:15:22 +00:00
ndixita
84776abaff Modifying validation logic and pod strategy for PodResize to accommodate for Pod Level Resources resize 2025-11-11 18:15:22 +00:00
ndixita
b8777c3263 Generated files from API changes 2025-11-11 18:15:21 +00:00
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
Stanislav Láznička
d26b44540e move Ensure Secret-Pulled Images feature to beta
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-11-11 11:48:35 -05: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