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

kOps

$ kops Foundation High Risk
Kubernetes · Cloud & Infra · Apache-2.0 · macos / linux / windows

kops provisions, validates, and upgrades production Kubernetes clusters on AWS, GCP, and OpenStack. It supports -o json on kops get, --dry-run on create cluster, and defaults update cluster and rolling-update to safe preview mode unless --yes is passed.

FCRS-1.0 Score
87 /100
Good
Medium Confidence
Zero-Friction Install
brew install kops
CLI vs MCP Decision CLI Preferred vs MCP

kops enforces dry-run previews by default before --yes and outputs -o json, making direct CLI usage safer and leaner than custom cloud MCP wrappers.

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 21 / 25

Supports -o json on kops get and create --dry-run, while update/rolling-update require explicit --yes to mutate.

  • Supports -o json on get and --dry-run on create cluster
  • Preview-by-default unless --yes is explicitly passed
Trust & Safety 20 / 25

Requiring --yes for mutations is an excellent safety gate, though cloud instance rolling updates and delete cluster carry high billing and availability risk.

  • Two-step preview then --yes apply model
Setup & Portability 14 / 15

Single static Go binary via Homebrew or GitHub Releases on macOS, Linux, and Windows; requires cloud provider credentials and a state bucket.

  • Cross-platform binary via brew install kops
Utility & Efficiency 13 / 15

Manages full self-hosted cloud Kubernetes lifecycle, instance groups, and rolling node replacements.

  • Full cloud cluster provisioning and rolling upgrades
Maintenance & Lineage 10 / 10

Official Kubernetes SIG Cluster Lifecycle project (kubernetes/kops) under Apache-2.0.

  • Official kubernetes/kops repository
Docs & Verifiability 9 / 10

Extensive CLI reference docs at kops.sigs.k8s.io/cli/kops/ and clear --help.

  • Generated CLI reference pages per subcommand

Security, Auth & Guardrails

Auth Modes
Config File Env API Key Service Account
Credential Storage

Stores cluster state in a remote object store (KOPS_STATE_STORE, e.g., s3://... or gs://...), reads cloud SDK credentials (~/.aws), and exports cluster access to ~/.kube/config.

Side Effects
Read-Only Local Write Remote Write Destructive Billing Impact
Cost & Quotas

CLI is free (Apache-2.0); provisioned cloud VMs, load balancers, and state buckets incur cloud billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# kOps Agent Rules
- ALWAYS run `kops update cluster` and `kops rolling-update cluster` WITHOUT `--yes` first to inspect the preview.
- Pass `--name` and `--state` explicitly rather than relying on shell env defaults.
- Never pass `--yes` on `kops update`, `rolling-update`, or `delete cluster` without explicit human approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect cluster specification as JSON
kops get cluster my-cluster.k8s.local -o json

Reads the stored cluster spec from KOPS_STATE_STORE in structured JSON.

Preview pending cloud infrastructure changes
kops update cluster --name my-cluster.k8s.local

Omitting --yes runs an implicit dry-run diff against the cloud provider without mutating infrastructure.

Controlled Writes & Previews

Generate cluster manifest via --dry-run
kops create cluster --name=dev.k8s.local --zones=us-east-1a --dry-run -o json

Outputs the full cluster and instance-group specs in JSON without writing to KOPS_STATE_STORE.

Strengths for Agents

  • + Safe-by-default preview mode: update cluster and rolling-update do not mutate without --yes.
  • + Supports -o json on get and --dry-run -o json on create cluster.
  • + Backed by Kubernetes SIG Cluster Lifecycle with thorough CLI reference docs.

Caveats & Pitfalls

  • ! Passing --yes triggers real cloud provisioning, billing, and node drains/terminations.
  • ! Requires configuring an external KOPS_STATE_STORE bucket and cloud IAM credentials.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI