Skip to content
CLI Tools
Skill

/kubeadm

Use when working with the kubeadm CLI — bootstrapping Kubernetes clusters, init/join/reset/upgrade workflows, the phase system, certificate management, bootstrap tokens, kubeconfig generation, and the v1beta4 configuration API. Triggers on: "kubeadm", "kubeadm init", "kubeadm

From plugin
carapace-bin
2k23 skills

Claude Code

$ npx -y skills add carapace-sh/carapace-bin --skill kubeadm --agent claude-code

SKILL.md

kubeadm.SKILL.md
name: kubeadm
description: >
  Use when working with the kubeadm CLI — bootstrapping Kubernetes clusters, init/join/reset/upgrade
  workflows, the phase system, certificate management, bootstrap tokens, kubeconfig generation,
  and the v1beta4 configuration API. Triggers on: "kubeadm", "kubeadm init", "kubeadm join",
  "kubeadm reset", "kubeadm upgrade", "kubeadm config", "kubeadm token", "kubeadm certs",
  "kubeadm kubeconfig", "kubeadm version", "kubeadm alpha", "bootstrap token",
  "InitConfiguration", "ClusterConfiguration", "JoinConfiguration", "ResetConfiguration",
  "NodeRegistrationOptions", "control-plane-endpoint", "discovery-token", "certificate-key",
  "feature-gates", "skip-phases", "static pod manifest", "TLS bootstrap", "kubeadm-config".
user-invocable: true

kubeadm In-Depth Reference

A structured reference for the `kubeadm` CLI — the Kubernetes cluster bootstrapping tool. Covers the command surface, the phase workflow system, the v1beta4 configuration API, certificate and token management, and the conceptual model behind cluster init/join/upgrade/reset. See <https://kubernetes.io/docs/reference/setup-tools/kubeadm/>.

Data Flow

kubeadm init (control-plane node)
  → preflight checks
    → PKI/cert generation        (/etc/kubernetes/pki)
      → kubeconfig generation    (/etc/kubernetes/*.conf)
        → static Pod manifests   (/etc/kubernetes/manifests)
          → kubelet starts control plane Pods
            → upload-config + bootstrap-token
              → addons (CoreDNS, kube-proxy)
                → join command printed

kubeadm join (worker or control-plane node)
  → discovery (token or file)
    → TLS bootstrap (CSR auto-approved)
      → kubelet definitive identity
        → [control-plane] download certs + etcd join

Sub-Resources

Load the reference that matches your task. When in doubt, load multiple references.

| Keywords | Reference | |----------|----------| | concepts, bootstrapping, control plane, etcd, static pods, bootstrap tokens, TLS bootstrap, discovery, kubeconfig files, feature gates | [references/concepts.md](references/concepts.md) | | init, kubeadm init, control-plane init, init phases, init flags, pod-network-cidr, service-cidr, upload-certs, certificate-key | [references/init.md](references/init.md) | | join, kubeadm join, worker node, control-plane join, discovery-token, discovery-file, ca-cert-hash, tls-bootstrap-token | [references/join.md](references/join.md) | | phases, skip-phases, phase tree, init phase, join phase, reset phase, upgrade phase, phase invocation | [references/phases.md](references/phases.md) | | config, kubeadm config, InitConfiguration, ClusterConfiguration, JoinConfiguration, ResetConfiguration, UpgradeConfiguration, NodeRegistrationOptions, v1beta4, print init-defaults, migrate, validate, images | [references/config.md](references/config.md) | | certs, kubeadm certs, renew, certificate-key, check-expiration, generate-csr, certificate inventory, CA, external CA | [references/certs.md](references/certs.md) | | token, kubeadm token, bootstrap token, create, delete, generate, list, token-ttl, token usages | [references/token.md](references/token.md) | | upgrade, kubeadm upgrade, apply, plan, node, diff, upgrade phases, certificate-renewal, etcd-upgrade | [references/upgrade.md](references/upgrade.md) | | reset, kubeadm reset, reset phases, cleanup-node, remove-etcd-member, force reset | [references/reset.md](references/reset.md) | | kubeconfig, kubeadm kubeconfig, kubeconfig user, version, alpha | [references/misc.md](references/misc.md) | | global flags, rootfs, v, vmodule, kubeconfig flag, dry-run, ignore-preflight-errors, patches, cri-socket, preflight checks | [references/flags.md](references/flags.md) |

Quick Guide

  • **How do I bootstrap a control plane?** → [references/init.md](references/init.md)
  • **How do I join a node to a cluster?** → [references/join.md](references/join.md)
  • **How does the phase system work?** → [references/phases.md](references/phases.md)
  • **How do I write a kubeadm config file?** → [references/config.md](references/config.md)
  • **How do I renew certificates?** → [references/certs.md](references/certs.md)
  • **How do I manage bootstrap tokens?** → [references/token.md](references/token.md)
  • **How do I upgrade a cluster?** → [references/upgrade.md](references/upgrade.md)
  • **How do I tear down a node?** → [references/reset.md](references/reset.md)
  • **What does kubeadm actually do under the hood?** → [references/concepts.md](references/concepts.md)
  • **What are the common flags across commands?** → [references/flags.md](references/flags.md)
  • **How do I generate a kubeconfig for an extra user?** → [references/misc.md](references/misc.md)

Cross-Project References

  • For Kubernetes API concepts (Pods, Services, ConfigMaps, Secrets, RBAC) in general, consult the Kubernetes documentation at <https://kubernetes.io/docs/concepts/>.
  • For `kubectl` usage, see the kubectl reference at <https://kubernetes.io/docs/reference/kubectl/>.
  • For the kubeadm completer implementation in this repo, see `completers/common/kubeadm_completer/`.
Read more
@carapace-sh
Ships withcarapace-bin

Carapace-bin provides argument completion for multiple CLI commands (full list), and works across multiple POSIX and non-POSIX shells. Supported shells: Bash Cmd (experimental) Elvish Fish Nushell Oil Powershell Tcsh (experimental) Xonsh Zsh

Stars on GitHub

Momentum

stars in total
2.0k
Star history of carapace-sh/carapace-bin on GitHub, a chart by star-history.com

Other skills on carapace-bin.

brew

brew

Use when working with Homebrew (`brew`) — the package manager for macOS and Linux. Covers the command structure, formula and cask…

bubbletea

bubbletea

Use when working with Bubble Tea (charmbracelet/bubbletea) — the Elm Architecture TUI framework for Go. Covers the…

bun

bun

Use when working with the bun CLI — Bun's all-in-one JavaScript runtime and toolkit. Covers the CLI command reference (install,…

but

but

Use when working with the GitButler CLI (`but`) — virtual branches, stacked branches, workspace model, commit editing (rub,…

carapace

carapace

Use when working with carapace shell completion — integrating into CLIs, writing YAML specs, creating custom actions, building…

cargo

cargo

Use when working with the cargo CLI — Rust's package manager. Covers the manifest format (Cargo.toml), dependencies, features,…

More skills from other plugins.

cli-anything-adguardhome

cli-anything-adguardho…

Command-line interface for AdGuard Home - Network-wide ad blocking and DNS management via AdGuard Home REST API. Designed for AI…

@hkuds@hkudsInstall Skill
find-skills

find-skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a…

skills5d40k
@vercel-labs-2@vercel-labs-2Install Skill
ohmyposh

ohmyposh

Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on…

@jandedobbeleer@jandedobbeleerInstall Skill

Questions about kubeadm.

Which coding agents can use kubeadm?
kubeadm installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.