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.
Stage 2: Operate
Configuration, resources and safe rollouts.
- 5Helm vs KustomizePick a config tool and know where each breaks.
- 6Rightsizing resource requestsSet requests and limits from real usage, not guesses.
- 7Readiness probes during rolling updatesShip zero-downtime rollouts.
- 8Pod disruption budgets and node drainsSurvive node maintenance without an outage.
- 9Why the HPA is not scalingDebug autoscaling end to end.
Stage 3: Troubleshoot
The errors that account for most Kubernetes incidents.
- 10Kubernetes error troubleshooting guideMap a symptom to its likely cause.
- 11Fix a Pod stuck in PendingRead scheduler events and fix capacity, taints and PVCs.
- 12Fix CrashLoopBackOffFind why a container keeps restarting.
- 13Fix ImagePullBackOffResolve registry, tag and credential errors.
- 14Fix OOMKilledTell a memory leak from a limit that is too low.
- 15Kubernetes exit codes explainedDecode 1, 137, 139 and 143.
Stage 4: Production
Security, networking and GitOps for clusters other teams depend on.
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.