Commit Graph

13076 Commits

Author SHA1 Message Date
Antoni Zawodny
3f094dc228 Create Workload API v1alpha2 (#136976)
* Drop WorkloadRef field and introduce SchedulingGroup field in Pod API

* Introduce v1alpha2 Workload and PodGroup APIs, drop v1alpha1 Workload API

Co-authored-by: yongruilin <yongrlin@outlook.com>

* Run hack/update-codegen.sh

* Adjust kube-scheduler code and integration tests to v1alpha2 API

* Drop v1alpha1 scheduling API group and run make update

---------

Co-authored-by: yongruilin <yongrlin@outlook.com>
2026-03-10 07:59:10 +05:30
Wei Fu
2634261c17 cmd/kubeadm: ignore EINVAL error during unmount
If /var/lib/kubelet is MS_SHARED mountpoint, all the mountpoints
under /var/lib/kubelet will have duplicate one. When `kubeadm reset -f`
is executed, it will try to umount one path twice. However, they are in
the peer group. Once we umount one path, the duplicate one will be
umounted as well. So, in this case, we should ignore EINVAL error.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2026-03-06 11:50:42 -05:00
Kubernetes Prow Robot
e56063a600 Merge pull request #131774 from sivchari/use-embed
kubeadm: Use go:embed for readability
2026-03-06 20:00:22 +05:30
sivchari
68d7b79527 kubeadm: Use go:embed for readability
Migrate test fixtures to use go:embed for improved readability
and maintainability across kubeadm test files.

Signed-off-by: sivchari <shibuuuu5@gmail.com>
2026-03-06 21:03:09 +09:00
Harshal Neelkamal
40d8705d28 Introduce a kubelet-server configuration that allows reloading ClientCA in TLSConfig 2026-03-05 02:04:08 +00:00
Kubernetes Prow Robot
90e75ac8cf Merge pull request #136815 from atombrella/feature/slices_contains_cmd_kubelet
Use for-range in `cmd/{kubelet,kubeadm,kubemark}`
2026-03-03 13:31:28 +05:30
Paco Xu
a542dc586a kubeadm: do not add learner member to etcd client endpoints 2026-02-26 10:36:38 +08:00
Kubernetes Prow Robot
ab1a549116 Merge pull request #137124 from Helion55/remove_data_test.go_files
Cleanup: Remove data_test.go files from kubeadm phases
2026-02-22 17:23:38 +05:30
Rakesh Bajpayee
66c6098ddb moved data_test.go file contents to data.go file of kubeadm phases
updated code with new line
2026-02-20 23:18:30 +05:30
Kubernetes Prow Robot
8812ec563c Merge pull request #134353 from skitt/drop-string-slice
Deprecate obsolete slice utility functions
2026-02-20 00:57:41 +05:30
joshjms
7c54689847 etcd: update etcd image to v3.6.8
Signed-off-by: joshjms <joshjms1607@gmail.com>
2026-02-18 21:29:56 +08:00
Stephen Kitt
d42d1e3d1f Deprecate obsolete slice utility functions
... and update users to use standard library functions.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-02-16 10:04:33 +01:00
Kubernetes Prow Robot
5b63a8c68e Merge pull request #136921 from dims/dump-from-utils
Move dump package from apimachinery to k8s.io/utils
2026-02-12 22:28:10 +05:30
Davanum Srinivas
550cc8645b Move dump package from apimachinery to k8s.io/utils
Replace all imports of k8s.io/apimachinery/pkg/util/dump with
k8s.io/utils/dump across the repo. The apimachinery dump package
now contains deprecated wrapper functions that delegate to
k8s.io/utils/dump for backwards compatibility.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-02-12 07:34:19 -05:00
Mads Jensen
2ac7de24d0 Fix also forvar in cmd/kubeadm 2026-02-11 09:37:17 +01:00
Mads Jensen
d137915f1d Use for-range in cmd/{kubelet,kubeadm}
Fixed using the modernize tool. These were the only instances under
cmd/
2026-02-11 09:37:12 +01:00
Kubernetes Prow Robot
90a76aaa9a Merge pull request #136846 from carlory/update-cri-losing-support
kubelet: defer the configurations flags (and the related fallback behavior) deprecation removal timeline from 1.36 to 1.37 to align with containerd v1.7 support
2026-02-11 09:26:15 +05:30
Kubernetes Prow Robot
467099411d Merge pull request #136898 from carlory/kubeadm-ContainerRuntimeVersion-1-37
kubeadm:  bump the version in the ContainerRuntimeVersionCheck warning message from 1.36 to 1.37
2026-02-10 14:48:18 +05:30
carlory
8eb3b65222 kubeadm: the preflight check ContainerRuntimeVersion validates if the installed container runtime supports the RuntimeConfig gRPC method. For older kubelet versions than 1.37, it will return a preflight warning.
Signed-off-by: carlory <baofa.fan@daocloud.io>
2026-02-10 10:30:12 +08:00
Lubomir I. Ivanov
aa082ab174 Revert "kubeadm: switch tests to NewClientset" 2026-02-09 20:28:21 +02:00
Kubernetes Prow Robot
a39c8201e9 Merge pull request #136423 from neolit123/1.36-remove-flex-volume-support-from-kubeadm
kubeadm: removed the built-in flex volume support
2026-02-09 14:07:21 +05:30
carlory
bd31a168fd kubelet: defer the configurations flags (and the related fallback behavior) deprecation removal timeline from 1.36 to 1.37 to align with containerd v1.7 support
Signed-off-by: carlory <baofa.fan@daocloud.io>
2026-02-09 10:39:17 +08:00
Kubernetes Prow Robot
8972957668 Merge pull request #135782 from richabanker/fifo-identity-metric
Add identifier-based queue depth metrics for RealFIFO
2026-02-06 07:34:29 +05:30
Kubernetes Prow Robot
da9e038713 Merge pull request #133845 from rbiamru/clarify-cpucfsquotaperiod
Clarify CPUCFSQuotaPeriod config vs CustomCPUCFSQuotaPeriod feature gate
2026-02-06 06:22:29 +05:30
Richa Banker
7ffcacbf9e Wire informer name through kube-controller-manager shared informers 2026-02-05 11:45:47 -08:00
Kubernetes Prow Robot
2ad7178741 Merge pull request #136522 from hoteye/kubelet-contextual-core
kubelet: migrate core sync path to contextual logging
2026-02-03 02:18:26 +05:30
xin.li
1713d43d13 update coredns to 1.14.1
Signed-off-by: xin.li <xin.li@daocloud.io>
2026-01-29 13:56:47 +08:00
xin.li
4823e1fade Update CoreDNS to v1.14.0
Signed-off-by: xin.li <xin.li@daocloud.io>
2026-01-29 13:56:47 +08:00
hoteye
f684d90648 kubelet: migrate core sync path to contextual logging 2026-01-28 09:07:31 +08:00
Neeraj Krishna Gopalakrishna
001dcf63ba Add test and doc for processing all the sub-directories in drop-in folder 2026-01-23 21:58:31 +05:30
Kubernetes Prow Robot
a46ff14f97 Merge pull request #136089 from ngopalak-redhat/ngopalak/config-dir
Improve logging, doc and test for kubelet config-dir file extension
2026-01-23 18:57:31 +05:30
Lubomir I. Ivanov
c7b4a6593b kubeadm: removed the built-in flex volume support
kubeadm tracks if the user adds the flex volume flag
to the KCM, and then mounts the flex volume directory
on the KCM static-pod.

With the default KCM image using distroless and the flex
volumes being in maintenane mode since 1.22, this integration
with kubeadm is edge case. User should manually opt-in
by using a custom KCM image, passing the KCM flag and
manually mounting the volume.
2026-01-22 11:37:01 +01:00
Kubernetes Prow Robot
caf327583f Merge pull request #136273 from neolit123/1.36-bump-create-job-timeout-to-1-minute
kubeadm: bump the CreatJob check timeout to 1 minute
2026-01-19 22:31:48 +05:30
carlory
be0e68ba84 remove featureGate from PluginManager
Signed-off-by: carlory <baofa.fan@daocloud.io>
2026-01-19 11:35:30 +08:00
carlory
c8fc0a1b98 remove CSIMigrationPortworx and InTreePluginPortworxUnregister feature gates
Signed-off-by: carlory <baofa.fan@daocloud.io>
2026-01-19 11:35:29 +08:00
Kubernetes Prow Robot
02e674769e Merge pull request #136014 from SataQiu/fix-20260104
kubeadm: waiting for etcd learner member to be started before promoting during 'kubeadm join'
2026-01-18 18:33:10 +05:30
Lubomir I. Ivanov
283df2214c kubeadm: bump the CreatJob check timeout to 1 minute
During upgrade on Windows nodes the pause image is
bigger and there are various other factors that differ from
Linux.

Users can prepull images with `kubeadm config images pull
--kubernetes-version TARGET`, but it seems reasonable
to increase the rather short timeout of 15 seconds for
this preflight check.

Additionally users can always skip it with
--ignore-preflight-errors=...
2026-01-16 13:00:09 +01:00
Benjamin Elder
a60d114402 emeritus logicalhan, rest in peace
https://github.com/cncf/memorials/blob/main/han-kang.md
2026-01-15 12:18:02 -08:00
SataQiu
5e334d9b57 kubeadm: waiting for etcd learner member to be started before promoting during 'kubeadm join' 2026-01-15 10:52:16 +08:00
Neeraj Krishna Gopalakrishna
6045df84e0 Improve logging, doc and test for kubelet config-dir file extension 2026-01-13 08:55:13 +05:30
Kubernetes Prow Robot
997ca903d8 Merge pull request #136127 from carlory/fix-3279
kubeadm: fix a bug where kubeadm upgrade is failed if the content of the `kubeadm-flags.env` file is `KUBELET_KUBEADM_ARGS=""`
2026-01-12 15:24:10 +05:30
carlory
f96472556c kubeadm: fix a bug where kubeadm upgrade is failed if the content of the kubeadm-flags.env file is KUBELET_KUBEADM_ARGS=""
Signed-off-by: carlory <baofa.fan@daocloud.io>
2026-01-12 10:09:05 +08:00
Kubernetes Prow Robot
6714aef4aa Merge pull request #136130 from LoginovIlia/kubeadm_use_newclientset
kubeadm: switch tests to NewClientset
2026-01-11 03:53:57 +05:30
LoginovIlia
bfe4b7ecd7 kubeadm: switch tests to NewClientset 2026-01-09 04:30:53 -05:00
Lukasz Szaszkiewicz
4cccfe28e6 kcm: remove WatchListClient feature gate override
WatchListClient is enabled by default since 1.35, so the
kcm specific override in flags is no longer needed.
2026-01-09 10:23:25 +01:00
Anson Qian
a816a7b1d8 Make ConcurrentResourceClaimSyncs configurable (#134701)
* DRA resource claim controller: configurable number of workers

It might never be necessary to change the default, but it is hard to be sure.
It's better to have the option, just in case.

* generate files

* resourceclaimcontroller: normalize validation error message

* Update cmd/kube-controller-manager/app/options/resourceclaimcontroller.go

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>

---------

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2026-01-08 19:31:39 +05:30
Kubernetes Prow Robot
caf5cdc58b Merge pull request #135148 from neolit123/1.35-add-deprecated-api-flag-to-config-validate
kubeadm: add --allow-deprecated-api to 'config validate'
2026-01-04 18:30:37 +05:30
Kubernetes Prow Robot
a1f6c4171f Merge pull request #135971 from DEVMANISHOFFL/fix-kubeadm-reset-crash
fix(kubeadm): prevent nil pointer panic in reset command
2025-12-30 21:56:35 +05:30
devmanishofficial
ecf7e6d41f fix(kubeadm): prevent nil pointer panic in reset command
Signed-off-by: devmanishofficial <devmanishofficial@gmail.com>
2025-12-30 15:53:10 +05:30
bo.jiang
e0d4e7075b Optimize slice initialization in kubeadm
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
2025-12-30 16:42:36 +08:00