Skip to content

Add kubeadm v1beta4 support for Kubernetes 1.36+ - #481

Open
dajudge wants to merge 3 commits into
masterfrom
agent/kubeadm-v1beta4
Open

Add kubeadm v1beta4 support for Kubernetes 1.36+#481
dajudge wants to merge 3 commits into
masterfrom
agent/kubeadm-v1beta4

Conversation

@dajudge

@dajudge dajudge commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Adds a kubeadm v1beta4 configuration template and selects it for Kubernetes 1.36.0 and newer.

This is stacked on top of the KindContainer 1.36.1 support PR so CI can exercise the new kubeadm configuration immediately with Kubernetes 1.36.1. Older Kubernetes versions continue to use the existing v1beta3 template.

The migration mirrors upstream kind's version boundary: kubeadm v1beta4 is used from Kubernetes 1.36 onward, while Kubernetes 1.37 removes v1beta3 support entirely.

Notable schema changes in v1beta4 include list-based extraArgs and kubeletExtraArgs, which are reflected in the new template.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6c49a05396

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +65 to +66
featureGates:
KubeletInUserNamespace: true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Drop the removed kubelet feature gate

When this template is selected for the newly supported 1.36.1 image, kubeadm writes KubeletInUserNamespace into the kubelet configuration, but Kubernetes 1.36 has removed that feature gate. The kubelet rejects the unknown gate and never becomes healthy, so 1.36+ KindContainer instances—including the default latest version—fail during provisioning; omit this feature-gate entry from the 1.36 template.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It did not fail though

Base automatically changed from agent/kindcontainer-k8s-1.36.1 to master August 12, 2026 02:10
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.

1 participant