Manage vCluster (virtual Kubernetes clusters) instances using vind. Use when creating, managing, or operating lightweight virtual clusters for development, testing, or multi-tenancy.
Manage virtual Kubernetes clusters using kubectl-mcp-server's vind tools (14 tools).
vCluster enables running fully functional Kubernetes clusters as lightweight workloads inside a host cluster, combining multi-tenancy with strong isolation.
Use this skill when:
| Priority | Rule | Impact | Tools |
|---|---|---|---|
| 1 | Detect vCluster CLI first | CRITICAL | vind_detect_tool |
| 2 | Check cluster status before operations |
| HIGH |
vind_status_tool |
| 3 | Connect before kubectl operations | HIGH | vind_connect_tool |
| 4 | Pause unused clusters to save resources | MEDIUM | vind_pause_tool |
| Task | Tool | Example |
|---|---|---|
| Detect vCluster | vind_detect_tool | vind_detect_tool() |
| List clusters | vind_list_clusters_tool | vind_list_clusters_tool() |
| Create cluster | vind_create_cluster_tool | vind_create_cluster_tool(name) |
| Connect to cluster | vind_connect_tool | vind_connect_tool(name) |
curl -L -o vcluster "https://github.com/loft-sh/vcluster/releases/latest/download/vcluster-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m)"
chmod +x vcluster && sudo mv vcluster /usr/local/bin/
vind_detect_tool()
vind_list_clusters_tool()
vind_status_tool(name="my-vcluster", namespace="vcluster")
vind_get_kubeconfig_tool(name="my-vcluster", namespace="vcluster")
vind_logs_tool(name="my-vcluster", namespace="vcluster", tail=100)
vind_create_cluster_tool(name="dev-cluster")
vind_create_cluster_tool(
name="dev-cluster",
namespace="dev",
kubernetes_version="v1.29.0",
connect=True
)
vind_create_cluster_tool(
name="custom-cluster",
set_values="sync.toHost.pods.enabled=true,sync.toHost.services.enabled=true"
)
vind_delete_cluster_tool(name="dev-cluster")
vind_delete_cluster_tool(
name="dev-cluster",
namespace="dev",
delete_namespace=True
)
vind_pause_tool(name="dev-cluster")
vind_resume_tool(name="dev-cluster")
vind_connect_tool(name="dev-cluster")
vind_connect_tool(
name="dev-cluster",
namespace="dev",
kube_config="~/.kube/vcluster-config"
)
vind_disconnect_tool()
vind_upgrade_tool(
name="dev-cluster",
kubernetes_version="v1.30.0"
)
vind_upgrade_tool(
name="dev-cluster",
values_file="new-values.yaml"
)
vind_describe_tool(name="dev-cluster")
vind_platform_start_tool()
vind_platform_start_tool(host="0.0.0.0", port=9898)
vind_create_cluster_tool(name="dev", connect=True)
kubectl_apply(manifest="""
apiVersion: apps/v1