Skip to content

🐛 Stop defaulting removed kubeadm feature gate for Kubernetes 1.36+ - #9

Merged
timonwong merged 1 commit into
release-1.10-alaudafrom
fix/kubeadm-1.36-controlplane-kubelet-local-mode
Sep 2, 2026
Merged

timonwong merged 1 commit into
release-1.10-alaudafrom
fix/kubeadm-1.36-controlplane-kubelet-local-mode

Conversation

@timonwong

@timonwong timonwong commented Sep 2, 2026 •

Copy link
Copy Markdown

What this PR does / why we need it:

Kubernetes 1.36 graduated and removed the ControlPlaneKubeletLocalMode kubeadm feature gate. The release-1.10 KubeadmControlPlane code currently defaults this gate for every Kubernetes version >= 1.31, causing kubeadm 1.36 to reject generated configuration with ControlPlaneKubeletLocalMode is not a valid feature name.

This is a branch-adapted backport of upstream kubernetes-sigs/cluster-api#13177. It limits the default to Kubernetes versions 1.31 <= version < 1.36. Existing feature gates are preserved, and regression coverage covers both the defaulting function and the kubeadm-config update path.

Upstream reference: kubernetes-sigs/cluster-api#13177

Fixes #

Backport the behavior from kubernetes-sigs#13177:

kubernetes-sigs#13177

Kubernetes 1.36 removed ControlPlaneKubeletLocalMode, so keep the gate for 1.31-1.35 and stop defaulting it from 1.36 onward.
@timonwong
timonwong force-pushed the fix/kubeadm-1.36-controlplane-kubelet-local-mode branch from b6a22ec to 10ff31a Compare September 2, 2026 07:53
@timonwong
timonwong merged commit 51fc637 into release-1.10-alauda Sep 2, 2026
2 of 10 checks passed
@timonwong
timonwong deleted the fix/kubeadm-1.36-controlplane-kubelet-local-mode branch September 2, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants