Skip to content
Back to skills

Kind Setup

BSecurity

Create a Kind cluster in Docker-in-Docker environment

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 9, 2026
devopsbashdockerkubernetestesting

Security analysis

B88/100
  • criticalAccesses sensitive system or user directories

Pro shows the line behind each finding and how to fix it

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill kind-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kind Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kind Setup
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-kind-setup/badge)](https://www.skillsdirectory.com/skills/majiayu000-kind-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Kind Setup
description: Create a Kind cluster in Docker-in-Docker environment
---

# Kind Setup

Create a Kind Kubernetes cluster inside a DinD (Docker-in-Docker) container.

## When to use

- Setting up Kubernetes for testing
- Need a Kind cluster inside this container

## Steps

1. **Verify Docker available**
   ```bash
   docker info
   ```
   If this fails, STOP. DinD is not available.

2. **Delete existing cluster**
   ```bash
   kind delete cluster --name ark-cluster 2>/dev/null || true
   ```

3. **Create cluster**
   ```bash
   kind create cluster --name ark-cluster
   ```

4. **Configure kubeconfig with container IP**
   ```bash
   CONTROL_PLANE_IP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ark-cluster-control-plane)
   kind get kubeconfig --name ark-cluster --internal | sed "s/ark-cluster-control-plane/$CONTROL_PLANE_IP/g" > ~/.kube/config
   ```

5. **Verify connection**
   ```bash
   kubectl cluster-info
   ```

## Why the IP replacement?

This container connects to Kind via Docker networking. The default `127.0.0.1` or hostname won't work. Using the container's actual IP ensures connectivity.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.