Learn Kubernetes: A Hands-On Path From Containers to Troubleshooting
Learn Kubernetes in four stages: get comfortable with containers, deploy and expose a workload, run it safely with requests, probes and policies, then practice the failure modes you will meet in production. Every step links a guide with working commands and YAML.
The path assumes you can use a terminal. A local cluster (kind, minikube or Docker Desktop) is enough for every exercise until the GitOps stage.
Stage 1: Foundations
Containers, then the three Kubernetes objects you touch every day.
- 1Docker for beginners: your first containerBuild, run and inspect an image.
- 2Do you need Kubernetes?Decide whether the operational cost is worth it for your workload.
- 3Kubernetes 101: Pods, Deployments and ServicesDeploy a workload and give it a stable endpoint.
- 4The kubectl debugging commands we actually useRead events, logs and describe output quickly.
- 5kubectl cheat sheetHave every everyday command grouped by task.
Stage 2: Operate
Configuration, resources and safe rollouts.
- 6Helm vs KustomizePick a config tool and know where each breaks.
- 7Rightsizing resource requestsSet requests and limits from real usage, not guesses.
- 8Readiness probes during rolling updatesShip zero-downtime rollouts.
- 9Pod disruption budgets and node drainsSurvive node maintenance without an outage.
- 10Why the HPA is not scalingDebug autoscaling end to end.
- 11Fix Helm "another operation is in progress"Recover a stuck release without deleting it.
Stage 3: Troubleshoot
The errors that account for most Kubernetes incidents.
- 12Kubernetes error troubleshooting guideMap a symptom to its likely cause.
- 13Fix a Pod stuck in PendingRead scheduler events and fix capacity, taints and PVCs.
- 14Fix CrashLoopBackOffFind why a container keeps restarting.
- 15Fix ImagePullBackOffResolve registry, tag and credential errors.
- 16Fix OOMKilledTell a memory leak from a limit that is too low.
- 17Kubernetes exit codes explainedDecode 1, 137, 139 and 143.
Stage 4: Production
Security, networking and GitOps for clusters other teams depend on.
- 18Kubernetes security best practicesHarden RBAC, Pod security and images.
- 19Network policies in practiceDefault-deny without breaking DNS.
- 20Ingress vs Gateway APIPlan the migration off Ingress.
- 21GitOps explainedUnderstand pull-based delivery.
- 22Flux vs Argo CDChoose a GitOps engine.
- 23Kubernetes interview questionsExplain what you learned the way interviewers test it.
Keep these open
Every guide on this path names the versions and docs it was checked against and lists its sources at the end. Browse all kubernetes guides or another learning path.