Kubernetes Cluster in 30 Minutes (kind)
Local Kubernetes for learning + experimentation. No cloud account needed.
Step 1: Install kind
brew install kind (macOS) or go install sigs.k8s.io/kind@latest
Verify: kind version
Step 2: Create cluster
kind create cluster --name learn- Wait 60s.
kubectl get nodesshows one node.
Step 3: Deploy app
kubectl create deployment nginx --image=nginx
kubectl get pods shows the pod.
Step 4: Expose service
kubectl expose deployment nginx --port=80
kubectl port-forward svc/nginx 8080:80
Visit localhost:8080; you’ve got nginx running in K8s.
Antipatterns
- kind in production. Wrong tool; for learning only.
- Skipping port-forward. No way to see the result.
- Running without cleanup. Resources accumulate.
What to do this week
Three moves. (1) Run the tutorial end-to-end on your own laptop / sandbox. (2) Apply the pattern to one production workload. (3) Document the variations you needed; share with the team.