Kuma CLI
$ kumactl Foundation Med Riskkumactl 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.
brew install kumactl kumactl exposes Kuma control-plane policies and Envoy proxy config dumps directly via -o json across both Kubernetes and Universal zones.
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
Consistent -o json and -o yaml flags on get and inspect subcommands with non-interactive --mesh scoping.
kumactl getandkumactl inspectaccept-o json- Deterministic flag-driven CLI with Cobra
--help
Read operations are clean, while apply and delete mutate Universal mesh state directly without a global --dry-run flag.
- Supports declarative
-ffile input and stdin (-) - No universal
--dry-runflag onkumactl apply/delete
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
Bridges both Kubernetes and Universal VM mesh deployments and inspects Envoy XDS config directly.
- Inspects policies, dataplanes, and Envoy stats from one CLI
CNCF project backed by Kong (kumahq/kuma) under Apache-2.0.
- Official
kumahq/kumarepository
Comprehensive official CLI reference and policy schema documentation.
- CLI docs at kuma.io/docs/
Security, Auth & Guardrails
Stores control-plane API endpoints and admin tokens in ~/.kumactl/config.
Open-source CNCF Sandbox/Incubating project (Apache-2.0); Kong Mesh offers commercial enterprise features.
# 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
kumactl get dataplanes --mesh default -o json
Lists registered Kuma data-plane proxies and their tags/status as JSON.
kumactl inspect dataplane web-01 --mesh default -o json
Displays matched traffic policies and Envoy inspection details in structured JSON.
Controlled Writes & Previews
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 jsonoutput acrossgetandinspectsimplifies mesh debugging. - + Works uniformly across Kubernetes and Universal VM service mesh topologies.
- +
kumactl inspect dataplanesurfaces effective policies and Envoy config directly.
Caveats & Pitfalls
- !
kumactl applyis intended for Universal mode; Kubernetes deployments should manage CRDs viakubectlor GitOps. - ! Official binaries target macOS and Linux (no native Windows build).