Skip to content

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

Merged
timonwong merged 2 commits into
release-1.11-alaudafrom
fix/kubeadm-1.36-controlplane-kubelet-local-mode-1.11
Sep 2, 2026
Merged

timonwong merged 2 commits into
release-1.11-alaudafrom
fix/kubeadm-1.36-controlplane-kubelet-local-mode-1.11

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.11 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 PR cherry-picks the functional fix from alauda/cluster-api#9 and adapts the release-1.11 test fixtures. The resulting branch-adapted backport 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

Cherry-pick source commit: 10ff31a55e664b734e855cbbcddd982b36222240

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-1.11 branch from 3baae7f to 940d651 Compare September 2, 2026 07:53
@timonwong
timonwong merged commit 2e2d9cd into release-1.11-alauda Sep 2, 2026
2 of 10 checks passed
@timonwong
timonwong deleted the fix/kubeadm-1.36-controlplane-kubelet-local-mode-1.11 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