vCluster
$ vcluster Official Med Riskvcluster manages lightweight virtual Kubernetes clusters running inside standard namespaces of a host cluster. It supports --output json on vcluster list, --log-output json / --silent global flags, and safe lifecycle controls like vcluster pause and resume.
brew install vcluster vcluster provides direct --output json listing, Helm/Docker drivers, and vcluster.yaml declarative values without needing an MCP bridge.
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
Supports --output json on vcluster list, --log-output json, and --silent for clean headless logs, though create and delete lack --dry-run.
vcluster list --output jsonand--log-output json- Supports
--silentfor non-interactive runs
Virtual clusters isolate tenant workloads inside a single host namespace and pause preserves state safely, though create/connect can mutate ~/.kube/config.
- Namespace-scoped blast radius and
vcluster pause
Single Go binary via Homebrew or GitHub Releases on macOS, Linux, and Windows; requires an existing host Kubernetes cluster or Docker.
- Cross-platform binary via
brew install vcluster
Fast multi-tenant sandbox provisioning at a fraction of the cost and startup time of full cloud clusters.
- Fast namespace-scoped virtual control planes
Official Loft Labs CLI (loft-sh/vcluster) actively maintained under Apache-2.0.
- Official
loft-sh/vclusterrepository
Well-structured vcluster.com/docs CLI reference and --help.
- Official docs at vcluster.com/docs
Security, Auth & Guardrails
Reads host cluster access from ~/.kube/config and stores CLI settings/platform tokens in ~/.vcluster/config.json.
OSS CLI is free (Apache-2.0); enterprise vCluster Platform features are commercially licensed.
# vCluster Agent Rules - Always pass `--context` and `-n <namespace>` explicitly to target the intended host cluster. - Prefer `--connect=false` on `vcluster create` so agents do not silently switch `~/.kube/config` current-context. - Use `vcluster pause` instead of `vcluster delete` when temporary tear-down is needed.
Agent-Ready Command Recipes
Safe Read-Only Queries
vcluster list --output json
Returns all virtual clusters, namespaces, and statuses in structured JSON.
Controlled Writes & Previews
vcluster create dev-sandbox -n vcluster-dev --connect=false --silent
Provisions a virtual cluster in a dedicated namespace while leaving the active kubeconfig context untouched.
Strengths for Agents
- + Clean
--output jsononvcluster listand--log-output json/--silentflags. - + Namespace-scoped virtual clusters let agents create disposable Kubernetes environments cheaply.
- +
vcluster pauseandresumescale control planes to zero without losing state.
Caveats & Pitfalls
- ! No
--dry-runflag onvcluster createorvcluster delete. - !
vcluster connectblocks in port-forward mode unless--background-proxyor--kube-configis configured.