rohitg00/kubectl-mcp-server/k8s-kind

Claude Code and agent skill by rohitg00/kubectl-mcp-server

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Manage kind (Kubernetes IN Docker) local clusters. Use when creating, testing, or developing with local Kubernetes clusters in Docker containers.

Install

npx vskill@latest install rohitg00/kubectl-mcp-server/k8s-kind

SKILL.md

kind (Kubernetes IN Docker) Management

Manage local Kubernetes clusters using kubectl-mcp-server's kind tools (32 tools).

Requires the kind toolset: start kubectl-mcp-server with --toolsets default,kind (or MCP_TOOLSETS=default,kind).

kind enables running local Kubernetes clusters using Docker container "nodes". It's ideal for local development, CI/CD testing, and testing across Kubernetes versions.

When to Apply

Use this skill when:

  • User mentions: "kind", "local cluster", "Kubernetes in Docker", "dev cluster"
  • Operations: creating local clusters, loading images, CI/CD testing
  • Keywords: "local development", "test cluster", "load image", "multi-node"

Priority Rules

PriorityRuleImpactTools
1Detect kind CLI firstCRITICALdetect_ecosystem
2Generate config for complex setupsHIGHkind_config_generate
3Load images after cluster creationHIGHkind_load_image
4Export logs for debuggingMEDIUMkind_export_logs

Quick Reference

TaskToolExample
Detect kinddetect_ecosystemdetect_ecosystem()
Create clusterkind_create_clusterkind_create_cluster(name)
Load imagekind_load_imagekind_load_image(images, name)
Get kubeconfigkind_get_kubeconfigkind_get_kubeconfig(name)

Prerequisites

  • kind CLI: Required for all kind tools

``bash # macOS brew install kind # or download binary curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-$(uname)-amd64 chmod +x ./kind && sudo mv ./kind /usr/local/bin/kind ``

  • Docker: Required (kind runs clusters in Docker containers)

Check Installation

python
detect_ecosystem()
detect_ecosystem()
kind_provider_info()

List Clusters

python
kind_list_clusters()

Get Cluster Information

python
kind_cluster_info(name="my-cluster")
kind_cluster_status(name="my-cluster")
kind_get_nodes(name="my-cluster")
kind_node_labels(name="my-cluster")

Configuration Management

Generate Config
python
kind_config_generate()
kind_config_generate(workers=2, control_planes=1)
kind_config_generate(workers=2, ingress=True, registry=True)
kind_config_generate(control_planes=3, workers=3)
Validate Config
python
kind_config_validate(config_path="/path/to/kind.yaml")
Show Running Config
python
kind_config_show(name="my-cluster")
Available Images
python
kind_available_images()

Get Kubeconfig

python
kind_get_kubeconfig(name="my-cluster")
kind_get_kubeconfig(name="my-cluster", internal=True)

Export Logs

python
kind_export_logs(name="my-cluster")
kind_export_logs(name="my-cluster", output_dir="/tmp/kind-logs")

Cluster Lifecycle

Create Cluster
python
kind_create_cluster()
kind_create_cluster(name="dev-cluster")
kind_create_cluster(
name="v129-cluster",
image="kindest/node:v1.29.0"
)
kind_create_cluster(
name="multi-node",
config="kind-config.yaml"
)
Multi-Node Config Example

Create a file kind-config.yaml:

yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
extraPortMappings:
- containerPort: 30000
hostPort: 30000
protocol: TCP
- role: worker
- role: worker
Delete Cluster
python
kind_delete_cluster(name="dev-cluster")
kind_delete_cluster()

Local Registry Integration

Create Registry
python
kind_registry_create()
kind_registry_create(name="my-registry", port=5001)
Connect Cluster to Registry
python
kind_registry_connect(cluster_name="my-cluster")
Check Registry Status
python
kind_registry_status()
Registry Workflow
python
kind_registry_create()
config = kind_config_generate(registry=True)
kind_create_cluster(name="dev", config="/tmp/kind.yaml")
kind_registry_connect(cluster_name="dev")

Image Loading (Key Feature!)

The ability to load local Docker images directly into kind clusters is one of its most powerful features for local development.

Load Docker Images
python
kind_load_image(images="myapp:latest", name="my-cluster")
kind_load_image(
images="myapp:latest,mydb:latest,myweb:v1",
name="my-cluster"
)
Load from Archive
python
kind_load_image_archive(
archive="/path/to/images.tar",
name="my-cluster"
)
List Images on Cluster
python
kind_images_list(cluster="my-cluster")
kind_images_list(cluster="my-cluster", node="my-cluster-worker")

Node Management

Inspect Node
python
kind_node_inspect(node="kind-control-plane")
Get Node Logs
python
kind_node_logs(node="kind-control-plane")
kind_node_logs(node="kind-control-plane", tail=200)
Execute Command on Node
python
kind_node_exec(
node="kind-control-plane",
command="crictl images"
)
kind_node_exec(
node="kind-control-plane",
command="journalctl -u kubelet --no-pager -n 50"
)
Restart Node
python
kind_node_restart(node="kind-worker")

Networking

Inspect Network
python
kind_network_inspect()
List Port Mappings
python
kind_port_mappings(cluster="my-cluster")
Setup Ingress
python
kind_ingress_setup(cluster="my-cluster")
kind_ingress_setup(cluster="my-cluster", ingress_type="contour")

Advanced: Build Node Image

Build custom node images from Kubernetes source:

python
kind_build_node_image()
kind_build_node_image(
image="my-custom-node:v1.30.0",
kube_root="/path/to/kubernetes"
)

Update Kubeconfig

python
kind_set_kubeconfig(name="my-cluster")

Development Workflow

Quick Local Development
python
kind_create_cluster(name="dev")
kind_load_image(images="myapp:dev", name="dev")
kubectl_apply(manifest="""
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
spec:
replicas: 1
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: myapp
image: myapp:dev
imagePullPolicy: Never
""")
Development with Local Registry
python
kind_registry_create()
config = kind_config_generate(workers=1, ingress=True, registry=True)
kind_create_cluster(name="dev", config="/tmp/kind-config.yaml")
kind_registry_connect(cluster_name="dev")
kind_ingress_setup(cluster="dev")
CI/CD Testing
python
kind_create_cluster(
name="ci-test",
image="kindest/node:v1.29.0",
wait="3m"
)
kind_load_image(images="test-image:ci", name="ci-test")
kind_delete_cluster(name="ci-test")
Version Testing
python
kind_create_cluster(name="v128", image="kindest/node:v1.28.0")
kind_create_cluster(name="v129", image="kindest/node:v1.29.0")
kind_create_cluster(name="v130", image="kindest/node:v1.30.0")
kind_list_clusters()

Troubleshooting

Cluster Creation Issues
python
kind_create_cluster(name="debug", retain=True)
kind_export_logs(name="debug")
kind_get_nodes(name="debug")
Cluster Health Check
python
kind_cluster_status(name="my-cluster")
Node Issues
python
kind_node_inspect(node="kind-control-plane")
kind_node_logs(node="kind-control-plane")
kind_node_exec(
node="kind-control-plane",
command="crictl ps"
)
kind_node_restart(node="kind-worker")
Network Issues
python
kind_network_inspect()
kind_port_mappings()
Cleanup
python
kind_delete_cluster(name="broken-cluster")
kind_delete_cluster()

CLI Installation

Install kind CLI:

bash
# macOS (Apple Silicon)
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-darwin-arm64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
# macOS (Intel)
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-darwin-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
# Linux
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
# Verify
kind version

Tool Reference

Read-Only Tools (20)
ToolDescription
detect_ecosystemDetect CLI installation
detect_ecosystemGet CLI version
kind_list_clustersList all clusters
kind_get_nodesList nodes in cluster
kind_get_kubeconfigGet kubeconfig
kind_export_logsExport cluster logs
kind_cluster_infoGet cluster info
kind_node_labelsGet node labels
kind_config_validateValidate config file
kind_config_generateGenerate config YAML
kind_config_showShow running config
kind_available_imagesList K8s versions
kind_registry_statusCheck registry status
kind_node_logsGet node logs
kind_node_inspectInspect node details
kind_network_inspectInspect Docker network
kind_port_mappingsList port mappings
kind_cluster_statusGet cluster health
kind_images_listList images on nodes
kind_provider_infoGet provider info
Write Tools (12)
ToolDescription
kind_create_clusterCreate cluster
kind_delete_clusterDelete cluster
kind_delete_clusterDelete all clusters
kind_load_imageLoad Docker images
kind_load_image_archiveLoad from archive
kind_build_node_imageBuild node image
kind_set_kubeconfigSet kubeconfig context
kind_registry_createCreate local registry
kind_registry_connectConnect to registry
kind_node_execExecute on node
kind_node_restartRestart node
kind_ingress_setupSetup ingress

kind vs vind (vCluster)

Featurekindvind (vCluster)
PurposeLocal dev/CI clustersVirtual clusters in existing K8s
IsolationFull clusters in DockerVirtual namespaces with isolation
Resource UsageHigher (full cluster)Lower (shares host cluster)
Best ForLocal testing, CI/CDMulti-tenancy, dev environments
RequiresDockerExisting K8s cluster

Related Skills

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
853
Repository forks
166
Repository npm downloads, 7 days
360
7-day trend score
48

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 20 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rohitg00/kubectl-mcp-server/k8s-kind/badge)](https://verified-skill.com/skills/rohitg00/kubectl-mcp-server/k8s-kind)

Something wrong with this skill or its page? Tell us.