Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

kubeadm

$ kubeadm Foundation High Risk
Kubernetes · Cloud & Infra · Apache-2.0 · linux

kubeadm 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.

FCRS-1.0 Score
68 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
CLI vs MCP Decision CLI Only

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

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 15 / 25

Provides --dry-run on init/upgrade and structured YAML templates via config print, but lacks --json output across lifecycle and certs commands.

  • Supports --dry-run on init and upgrade
  • No --json output flag on certs check-expiration or lifecycle commands
Trust & Safety 16 / 25

--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-run writes diagnostic manifests without mutating etcd
  • Requires root and performs destructive host changes on reset
Setup & Portability 9 / 15

Linux-only binary that also depends on matching kubelet, kubectl, and a Linux CRI runtime (containerd/cri-o).

  • Linux-only binary requiring kubelet and CRI socket
Utility & Efficiency 11 / 15

Standardizes upstream Kubernetes node bootstrapping, upgrades, and certificate rotation cleanly.

  • Canonical upstream bootstrap and PKI management
Maintenance & Lineage 10 / 10

Official Kubernetes core tool (kubernetes/kubernetes) maintained under Apache-2.0.

  • Official kubernetes/kubernetes repository
Docs & Verifiability 7 / 10

Well-documented on kubernetes.io, though multi-step phase flags require careful reading.

  • Official reference docs at kubernetes.io

Security, Auth & Guardrails

Auth Modes
Config File
Credential Storage

Generates and reads cluster PKI in /etc/kubernetes/pki and kubeconfigs in /etc/kubernetes/admin.conf.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

CLI is free (Apache-2.0); runs on user-provisioned Linux nodes.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Check control-plane certificate expiration
kubeadm certs check-expiration

Reports remaining validity of all cluster PKI certificates in /etc/kubernetes/pki.

Print default init configuration YAML
kubeadm config print init-defaults

Emits canonical ClusterConfiguration and InitConfiguration YAML templates.

Controlled Writes & Previews

Dry-run a Kubernetes control-plane upgrade
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-run on init and upgrade runs real preflight checks safely.
  • + kubeadm config print generates 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 --json output on certs check-expiration, upgrade plan, and init.
  • ! Requires root privileges and coordinates closely with host kubelet and CRI sockets.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI