kubeadm
$ kubeadm Foundation High Riskkubeadm initializes, joins, upgrades, and renews PKI certificates for conformant Kubernetes clusters on Linux nodes. It provides --dry-run on init and upgrade, declarative --config YAML support, and kubeadm certs check-expiration.
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ kubeadm runs directly on Linux control-plane/worker hosts against systemd, CRI sockets, and /etc/kubernetes/pki; no MCP server replaces it.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Provides --dry-run on init/upgrade and structured YAML templates via config print, but lacks --json output across lifecycle and certs commands.
- Supports
--dry-runoninitandupgrade - No
--jsonoutput flag oncerts check-expirationor lifecycle commands
--dry-run and preflight checks mitigate bad runs, but kubeadm requires root and writes critical host PKI/static pod manifests where reset is destructive.
--dry-runwrites diagnostic manifests without mutating etcd- Requires root and performs destructive host changes on
reset
Linux-only binary that also depends on matching kubelet, kubectl, and a Linux CRI runtime (containerd/cri-o).
- Linux-only binary requiring
kubeletand CRI socket
Standardizes upstream Kubernetes node bootstrapping, upgrades, and certificate rotation cleanly.
- Canonical upstream bootstrap and PKI management
Official Kubernetes core tool (kubernetes/kubernetes) maintained under Apache-2.0.
- Official
kubernetes/kubernetesrepository
Well-documented on kubernetes.io, though multi-step phase flags require careful reading.
- Official reference docs at kubernetes.io
Security, Auth & Guardrails
Generates and reads cluster PKI in /etc/kubernetes/pki and kubeconfigs in /etc/kubernetes/admin.conf.
CLI is free (Apache-2.0); runs on user-provisioned Linux nodes.
# kubeadm Agent Rules - Always run `kubeadm upgrade apply --dry-run` or `kubeadm init --dry-run` before mutating a Linux node. - Back up `/etc/kubernetes/pki` and etcd snapshots before `kubeadm upgrade` or `kubeadm certs renew`. - Never run `kubeadm reset` without explicit human confirmation.
Agent-Ready Command Recipes
Safe Read-Only Queries
kubeadm certs check-expiration
Reports remaining validity of all cluster PKI certificates in /etc/kubernetes/pki.
kubeadm config print init-defaults
Emits canonical ClusterConfiguration and InitConfiguration YAML templates.
Controlled Writes & Previews
kubeadm upgrade apply v1.31.0 --dry-run
Runs preflight checks and prints upgrade manifest actions to /etc/kubernetes/tmp/ without mutating the node.
Strengths for Agents
- +
--dry-runoninitandupgraderuns real preflight checks safely. - +
kubeadm config printgenerates clean declarative YAML configurations. - + Authoritative upstream tool for PKI inspection (
certs check-expiration) and renewal.
Caveats & Pitfalls
- ! Linux-only; cannot run natively on macOS or Windows.
- ! Lacks
--jsonoutput oncerts check-expiration,upgrade plan, andinit. - ! Requires root privileges and coordinates closely with host
kubeletand CRI sockets.