← ClaudeAtlas

operating-k8s-locallisted

Operates local Kubernetes clusters with Minikube for development and testing. Use when setting up local K8s, deploying applications locally, or debugging K8s issues. Covers Minikube, kubectl essentials, local image loading, and networking.
aiskillstore/marketplace · ★ 329 · DevOps & Infrastructure · score 79
Install: claude install-skill aiskillstore/marketplace
# Operating K8s Local ## Quick Start ```bash # Start cluster with resources minikube start --memory=8192 --cpus=4 # Enable essential addons minikube addons enable ingress minikube addons enable metrics-server # Point Docker to Minikube eval $(minikube docker-env) # Build and deploy docker build -t myapp:local . kubectl apply -f k8s/ ``` ## Minikube Essentials ### Cluster Management ```bash minikube start # Start with defaults minikube start --memory=8192 --cpus=4 # With resources minikube start --driver=docker # Specific driver minikube status # Check status minikube stop # Stop (preserves state) minikube delete # Delete completely ``` ### Multiple Clusters ```bash minikube start -p my-cluster # Named cluster minikube profile my-cluster # Switch clusters minikube profile list # List all ``` ### Addons ```bash minikube addons list # List available minikube addons enable ingress # REQUIRED for external access minikube addons enable metrics-server # For kubectl top minikube addons enable dashboard # Web UI minikube addons enable storage-provisioner # For PVCs ``` ### Accessing Services ```bash # Method 1: NodePort minikube service my-service --url # Method 2: LoadBalancer (requires tunnel) minikube tunnel # Run in separate terminal # Method