apecloud/kubeblocks-skills/kubeblocks-create-local-k8s-cluster

Claude Code and agent skill by apecloud/kubeblocks-skills

Trust tier 3
  • community
Source check pending

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

Create a local Kubernetes test cluster using Kind, Minikube, or k3d. Handles tool installation, cluster creation, multi-node configuration, and verification. Use when the user needs a local K8s cluster for testing or development, or when they have no existing Kubernetes cluster. NOT for production cluster provisioning (use cloud provider tools like EKS, AKS, GKE) or for installing KubeBlocks (see kubeblocks-install).

Install

npx vskill@latest install apecloud/kubeblocks-skills/kubeblocks-create-local-k8s-cluster

SKILL.md

The same SKILL.md was published earlier as apecloud/kubeblocks-skills/kubeblocks-create-local-k8s-cluster.

Create a Local Kubernetes Test Cluster

Overview

Create a local Kubernetes cluster for development and testing using Kind, Minikube, or k3d. All three tools run K8s inside Docker containers on the local machine.

Official docs: https://kubeblocks.io/docs/preview/user_docs/references/prepare-a-local-k8s-cluster

Tool Comparison

FeatureKindMinikubek3d
EngineK8s in DockerVM or Dockerk3s in Docker
Multi-nodeYes (via config)LimitedYes (via flags)
Resource usageLowMediumLow
Startup speedFastSlowerFast
Best forCI/CD, testingLearning, local devLightweight testing

Default recommendation: Kind (widely used, lightweight, supports multi-node easily).

Workflow

- [ ] Step 1: Check Docker is running
- [ ] Step 2: Choose and install a tool
- [ ] Step 3: Create a cluster
- [ ] Step 4: Verify the cluster

Step 1: Check Docker

All three tools require Docker. Verify it is installed and running:

bash
docker info > /dev/null 2>&1

If Docker is not available, tell the user to install it first:

  • macOS/Windows: https://www.docker.com/products/docker-desktop/
  • Linux: https://docs.docker.com/engine/install/

Step 2: Choose and Install a Tool

Ask the user which tool they prefer. If no preference, default to Kind.

Kind
bash
# macOS
brew install kind
# Linux (amd64)
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.24.0/kind-linux-amd64
chmod +x ./kind && sudo mv ./kind /usr/local/bin/kind
# Linux (arm64)
[ $(uname -m) = aarch64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.24.0/kind-linux-arm64
chmod +x ./kind && sudo mv ./kind /usr/local/bin/kind
# Windows
choco install kind
Minikube
bash
# macOS
brew install minikube
# Linux (rpm-based)
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-latest.x86_64.rpm
sudo rpm -Uvh minikube-latest.x86_64.rpm
# Linux (deb-based)
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
sudo dpkg -i minikube_latest_amd64.deb
# Windows
choco install minikube
k3d
bash
# macOS
brew install k3d
# Linux
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
# Windows
choco install k3d

Step 3: Create a Cluster

Kind (default)

Single-node cluster (simplest):

bash
kind create cluster --name kb-test

Multi-node cluster (recommended for KubeBlocks):

Create a config file kind-config.yaml:

yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker

Then create the cluster:

bash
kind create cluster --name kb-test --config kind-config.yaml
Minikube
bash
# Single-node (default)
minikube start
# With Docker driver (recommended)
minikube start --driver=docker
# With more resources
minikube start --driver=docker --cpus=4 --memory=8192
k3d
bash
# Single-node
k3d cluster create kb-test
# Multi-node (1 server + 2 agents)
k3d cluster create kb-test --servers 1 --agents 2

Step 4: Verify the Cluster

bash
kubectl get nodes

Expected output (Kind multi-node example):

NAME STATUS ROLES AGE VERSION
kb-test-control-plane Ready control-plane 30s v1.31.0
kb-test-worker Ready <none> 20s v1.31.0
kb-test-worker2 Ready <none> 20s v1.31.0

Also verify kubectl context is set correctly:

bash
kubectl config current-context

Delete the Cluster

When the cluster is no longer needed:

bash
# Kind
kind delete cluster --name kb-test
# Minikube
minikube delete
# k3d
k3d cluster delete kb-test

Next Steps

Once the cluster is running, you can install KubeBlocks using the install-kubeblocks skill.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

7-day trend score
0

Not refreshed yet.

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/apecloud/kubeblocks-skills/kubeblocks-create-local-k8s-cluster/badge)](https://verified-skill.com/skills/apecloud/kubeblocks-skills/kubeblocks-create-local-k8s-cluster)

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