본문으로 건너뛰기
cccskills
무료GitHub에 공개

k8s-vind

Manage vCluster (virtual Kubernetes clusters) instances using vind. Use when creating, managing, or operating lightweight virtual clusters for development, testing, or multi-tenancy.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구DockerKubernetes
설치 방법 보기

포함된 파일(2)

  • SKILL.md5.5 KB
  • references/WORKFLOWS.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

vCluster (vind) Management

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.

When to Apply

Use this skill when:

  • User mentions: "vCluster", "vind", "virtual cluster", "lightweight cluster"
  • Operations: creating dev environments, multi-tenant isolation, ephemeral clusters
  • Keywords: "virtual Kubernetes", "dev cluster", "pause cluster", "tenant isolation"

Priority Rules

PriorityRuleImpactTools
1Detect vCluster CLI firstCRITICALvind_detect_tool
2Check cluster status before operationsHIGHvind_status_tool
3Connect before kubectl operationsHIGHvind_connect_tool
4Pause unused clusters to save resourcesMEDIUMvind_pause_tool

Quick Reference

TaskToolExample
Detect vClustervind_detect_toolvind_detect_tool()
List clustersvind_list_clusters_toolvind_list_clusters_tool()
Create clustervind_create_cluster_toolvind_create_cluster_tool(name)
Connect to clustervind_connect_toolvind_connect_tool(name)

Prerequisites

  • vCluster CLI: Required for all vind tools
    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/
    

Check Installation

vind_detect_tool()

List Clusters

vind_list_clusters_tool()

Get Cluster Status

vind_status_tool(name="my-vcluster", namespace="vcluster")

Get Kubeconfig

vind_get_kubeconfig_tool(name="my-vcluster", namespace="vcluster")

View Logs

vind_logs_tool(name="my-vcluster", namespace="vcluster", tail=100)

Cluster Lifecycle

Create Cluster

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"
)

Delete Cluster

vind_delete_cluster_tool(name="dev-cluster")

vind_delete_cluster_tool(
    name="dev-cluster",
    namespace="dev",
    delete_namespace=True
)

Pause Cluster (Save Resources)

vind_pause_tool(name="dev-cluster")

Resume Cluster

vind_resume_tool(name="dev-cluster")

Connect/Disconnect

Connect to Cluster

vind_connect_tool(name="dev-cluster")

vind_connect_tool(
    name="dev-cluster",
    namespace="dev",
    kube_config="~/.kube/vcluster-config"
)

Disconnect from Cluster

vind_disconnect_tool()

Upgrade Cluster

vind_upgrade_tool(
    name="dev-cluster",
    kubernetes_version="v1.30.0"
)

vind_upgrade_tool(
    name="dev-cluster",
    values_file="new-values.yaml"
)

Describe Cluster

vind_describe_tool(name="dev-cluster")

Platform UI

vind_platform_start_tool()

vind_platform_start_tool(host="0.0.0.0", port=9898)

Development Workflow

Quick Dev Environment

vind_create_cluster_tool(name="dev", connect=True)

kubectl_apply(manifest="""
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-app
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      app: my-app
  template:
    metadata:
      labels:
        app: my-app
    spec:
      containers:
      - name: app
        image: nginx:alpine
""")

Multi-Tenant Setup

vind_create_cluster_tool(name="team-a", namespace="team-a-vcluster")
vind_create_cluster_tool(name="team-b", namespace="team-b-vcluster")

vind_list_clusters_tool()

Resource Management

vind_pause_tool(name="dev")

vind_resume_tool(name="dev")

Docker-Specific Configuration

For vCluster in Docker (vind) deployments, use --set values:

vind_create_cluster_tool(
    name="docker-cluster",
    set_values="experimental.docker.network=my-network,experimental.docker.ports[0].containerPort=80"
)

Troubleshooting

Cluster Not Starting

1. vind_detect_tool()
2. vind_logs_tool(name="my-cluster", tail=200)
3. vind_status_tool(name="my-cluster")

Connection Issues

1. vind_disconnect_tool()
2. vind_connect_tool(name="my-cluster")
3. vind_get_kubeconfig_tool(name="my-cluster")

Resource Issues

1. vind_pause_tool(name="unused-cluster")
2. vind_delete_cluster_tool(name="old-cluster", delete_namespace=True)

CLI Installation

Install vCluster CLI:

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/

vcluster version

Related Skills

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Configure Kubernetes autoscaling with HPA, VPA, and KEDA. Use for horizontal/vertical pod autoscaling, event-driven scaling, and capacity management.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rohitg00/kubectl-mcp-server9642026년 4월 9일 업데이트

Kubernetes backup and restore with Velero. Use when creating backups, restoring applications, managing disaster recovery, or migrating workloads between clusters.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rohitg00/kubectl-mcp-server9642026년 4월 9일 업데이트

Browser automation for Kubernetes dashboards and web UIs. Use when interacting with Kubernetes Dashboard, Grafana, ArgoCD UI, or other web interfaces. Requires MCP_BROWSER_ENABLED=true.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rohitg00/kubectl-mcp-server9642026년 4월 9일 업데이트

k8s-capi

무료

Cluster API lifecycle management for provisioning, scaling, and upgrading Kubernetes clusters. Use when managing cluster infrastructure or multi-cluster operations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rohitg00/kubectl-mcp-server9642026년 4월 9일 업데이트

k8s-certs

무료

Kubernetes certificate management with cert-manager. Use when managing TLS certificates, configuring issuers, or troubleshooting certificate issues.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rohitg00/kubectl-mcp-server9642026년 4월 9일 업데이트

Cilium and Hubble network observability for Kubernetes. Use when managing network policies, observing traffic flows, or troubleshooting connectivity with eBPF-based networking.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rohitg00/kubectl-mcp-server9642026년 4월 9일 업데이트

rohitg00의 스킬 모두 보기

이 스킬의 문제 신고