# Kind Setup

> Create a Kind cluster in Docker-in-Docker environment Use when this capability is needed.

- Skill: `tomevault-io/kind-setup` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/kind-setup`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/kind-setup/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/kind-setup

---


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

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/dwmkerr) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

