.gemini/skills/minikube/SKILL.md
Manages local Kubernetes clusters using Minikube for development and testing. This skill should be used when setting up local K8s environments, enabling addons, configuring networking, and deploying applications locally. Use this skill for Phase IV local Kubernetes deployments before cloud deployment.
npx skillsauth add anasahmed07/doit minikubeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Minikube runs a single-node Kubernetes cluster locally for development and testing. It supports multiple container runtimes (Docker, containerd, CRI-O) and provides easy addon management.
# Homebrew
brew install minikube
# Or direct download
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-arm64
sudo install minikube-darwin-arm64 /usr/local/bin/minikube
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
# Start cluster (uses Docker driver by default)
minikube start
# Start with specific resources
minikube start --memory=8192 --cpus=4
# Start with specific Kubernetes version
minikube start --kubernetes-version=v1.28.0
# Start with specific driver
minikube start --driver=docker
# Check cluster status
minikube status
# Stop cluster (preserves state)
minikube stop
# Delete cluster completely
minikube delete
# Delete all clusters and profiles
minikube delete --all
# Create named cluster
minikube start -p my-cluster
# Switch between clusters
minikube profile my-cluster
# List all profiles
minikube profile list
# Delete specific profile
minikube delete -p my-cluster
# Open Kubernetes dashboard
minikube dashboard
# Get cluster IP
minikube ip
# SSH into the node
minikube ssh
# Access service via URL
minikube service <service-name> --url
# Open service in browser
minikube service <service-name>
Minikube addons extend cluster functionality:
# List all available addons
minikube addons list
# Enable addon
minikube addons enable <addon-name>
# Disable addon
minikube addons disable <addon-name>
# Ingress controller (REQUIRED for external access)
minikube addons enable ingress
# Ingress DNS (optional, for local DNS)
minikube addons enable ingress-dns
# Metrics server (for kubectl top)
minikube addons enable metrics-server
# Dashboard (web UI)
minikube addons enable dashboard
# Storage provisioner (for PVCs)
minikube addons enable storage-provisioner
# Registry (local container registry)
minikube addons enable registry
# Start with sufficient resources
minikube start --memory=8192 --cpus=4
# Enable essential addons
minikube addons enable ingress
minikube addons enable metrics-server
minikube addons enable storage-provisioner
minikube addons enable dashboard
Three ways to access services in Minikube:
# Get service URL
minikube service my-service --url
# Returns: http://192.168.49.2:30080
# Run in separate terminal (requires sudo)
minikube tunnel
# Now LoadBalancer services get external IPs
kubectl get svc
# EXTERNAL-IP will show actual IP instead of <pending>
kubectl port-forward svc/my-service 8080:80
# Access at http://localhost:8080
# Enable ingress addon
minikube addons enable ingress
# Get minikube IP
minikube ip
# Returns: 192.168.49.2
# Add to /etc/hosts
echo "$(minikube ip) taskflow.local" | sudo tee -a /etc/hosts
# Now access via: http://taskflow.local
# Load from local Docker
minikube image load my-image:tag
# List images in Minikube
minikube image list
# Point Docker CLI to Minikube's Docker daemon
eval $(minikube docker-env)
# Now docker build goes directly into Minikube
docker build -t my-app:local .
# Use imagePullPolicy: Never in K8s manifests
# Return to local Docker daemon
eval $(minikube docker-env -u)
minikube config set memory 8192
minikube config set cpus 4
minikube config set driver docker
minikube config view
# Minikube logs
minikube logs
# Follow logs
minikube logs -f
# Specific component logs
minikube logs --file=kubelet
# Stop and restart with more resources
minikube stop
minikube start --memory=8192 --cpus=4
# Try different driver
minikube delete
minikube start --driver=docker
# Verify ingress addon is running
kubectl get pods -n ingress-nginx
# Check ingress controller logs
kubectl logs -n ingress-nginx -l app.kubernetes.io/component=controller
# Check if tunnel is needed
minikube tunnel # Run in separate terminal
# Or use NodePort
minikube service <service-name>
# 1. Start Minikube
minikube start --memory=8192 --cpus=4
# 2. Enable addons
minikube addons enable ingress
minikube addons enable metrics-server
# 3. Point to Minikube Docker
eval $(minikube docker-env)
# 4. Build images locally
docker build -t taskflow/api:local ./packages/api
docker build -t taskflow/web:local ./web-dashboard
docker build -t taskflow/sso:local ./sso-platform
docker build -t taskflow/mcp-server:local ./packages/mcp-server
# 5. Deploy with Helm
helm install taskflow ./helm/taskflow \
--set api.image.tag=local \
--set api.image.pullPolicy=Never \
--set web.image.tag=local \
--set web.image.pullPolicy=Never
# 6. Start tunnel for LoadBalancer
minikube tunnel
# 7. Access application
minikube service taskflow-web
| Command | Purpose |
|---------|---------|
| minikube start | Start cluster |
| minikube stop | Stop cluster |
| minikube delete | Delete cluster |
| minikube status | Check status |
| minikube dashboard | Open web UI |
| minikube addons list | List addons |
| minikube service <svc> | Access service |
| minikube tunnel | Enable LoadBalancer |
| minikube ip | Get cluster IP |
| minikube image load <img> | Load Docker image |
| eval $(minikube docker-env) | Use Minikube Docker |
Refer to references/addons-guide.md for detailed addon configurations.
development
Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.