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

Kuma CLI

$ kumactl Foundation Med Risk
Kong / CNCF · Cloud & Infra · Apache-2.0 · macos / linux

kumactl is the control-plane CLI for CNCF Kuma, managing mesh policies, data-plane proxies, and Envoy XDS/config inspection across both Kubernetes and Universal VM environments. Read commands (get, inspect) support -o json and -o yaml.

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

kumactl exposes Kuma control-plane policies and Envoy proxy config dumps directly via -o json across both Kubernetes and Universal zones.

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

Consistent -o json and -o yaml flags on get and inspect subcommands with non-interactive --mesh scoping.

  • kumactl get and kumactl inspect accept -o json
  • Deterministic flag-driven CLI with Cobra --help
Trust & Safety 19 / 25

Read operations are clean, while apply and delete mutate Universal mesh state directly without a global --dry-run flag.

  • Supports declarative -f file input and stdin (-)
  • No universal --dry-run flag on kumactl apply / delete
Setup & Portability 12 / 15

Static Go binary for macOS and Linux via Homebrew and Kuma installers; Windows is not an official primary target.

  • Available on macOS and Linux via brew install kumactl
Utility & Efficiency 13 / 15

Bridges both Kubernetes and Universal VM mesh deployments and inspects Envoy XDS config directly.

  • Inspects policies, dataplanes, and Envoy stats from one CLI
Maintenance & Lineage 9 / 10

CNCF project backed by Kong (kumahq/kuma) under Apache-2.0.

  • Official kumahq/kuma repository
Docs & Verifiability 8 / 10

Comprehensive official CLI reference and policy schema documentation.

  • CLI docs at kuma.io/docs/

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Stores control-plane API endpoints and admin tokens in ~/.kumactl/config.

Side Effects
Read-Only Remote Write Destructive
Cost & Quotas

Open-source CNCF Sandbox/Incubating project (Apache-2.0); Kong Mesh offers commercial enterprise features.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Kuma CLI (kumactl) Agent Rules
- Default to `kumactl get` and `kumactl inspect` with `-o json` and explicit `--mesh <name>`.
- On Kubernetes clusters, prefer GitOps/CRDs over `kumactl apply`; reserve `kumactl apply` for Universal control planes.
- Never run `kumactl delete` without explicit resource type, name, and user approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect dataplane proxies in JSON
kumactl get dataplanes --mesh default -o json

Lists registered Kuma data-plane proxies and their tags/status as JSON.

Inspect active policies attached to a dataplane
kumactl inspect dataplane web-01 --mesh default -o json

Displays matched traffic policies and Envoy inspection details in structured JSON.

Controlled Writes & Previews

Apply a declarative mesh policy file
kumactl apply -f mesh-timeout.yaml

Creates or updates a Kuma resource in Universal mode from an explicit YAML manifest.

Strengths for Agents

  • + Consistent -o json output across get and inspect simplifies mesh debugging.
  • + Works uniformly across Kubernetes and Universal VM service mesh topologies.
  • + kumactl inspect dataplane surfaces effective policies and Envoy config directly.

Caveats & Pitfalls

  • ! kumactl apply is intended for Universal mode; Kubernetes deployments should manage CRDs via kubectl or GitOps.
  • ! Official binaries target macOS and Linux (no native Windows build).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI