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

vCluster

$ vcluster Official Med Risk
Loft Labs · Cloud & Infra · Apache-2.0 · macos / linux / windows

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

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

vcluster provides direct --output json listing, Helm/Docker drivers, and vcluster.yaml declarative values without needing an MCP bridge.

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

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 json and --log-output json
  • Supports --silent for non-interactive runs
Trust & Safety 19 / 25

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
Setup & Portability 14 / 15

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
Utility & Efficiency 12 / 15

Fast multi-tenant sandbox provisioning at a fraction of the cost and startup time of full cloud clusters.

  • Fast namespace-scoped virtual control planes
Maintenance & Lineage 8 / 10

Official Loft Labs CLI (loft-sh/vcluster) actively maintained under Apache-2.0.

  • Official loft-sh/vcluster repository
Docs & Verifiability 8 / 10

Well-structured vcluster.com/docs CLI reference and --help.

  • Official docs at vcluster.com/docs

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Reads host cluster access from ~/.kube/config and stores CLI settings/platform tokens in ~/.vcluster/config.json.

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

OSS CLI is free (Apache-2.0); enterprise vCluster Platform features are commercially licensed.

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

List virtual clusters as JSON
vcluster list --output json

Returns all virtual clusters, namespaces, and statuses in structured JSON.

Controlled Writes & Previews

Create an isolated virtual cluster without auto-switching context
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 json on vcluster list and --log-output json / --silent flags.
  • + Namespace-scoped virtual clusters let agents create disposable Kubernetes environments cheaply.
  • + vcluster pause and resume scale control planes to zero without losing state.

Caveats & Pitfalls

  • ! No --dry-run flag on vcluster create or vcluster delete.
  • ! vcluster connect blocks in port-forward mode unless --background-proxy or --kube-config is configured.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI