How to Master Kubernetes: The Complete 2027 Roadmap
From your first
kubectl runto running production clusters, writing operators and passing the CKA, CKAD and CKS: a staged, free-first learning path with time estimates, labs and verified links.
Last reviewed: December 2026 (Kubernetes v1.37 is the newest minor release; v1.38 is in its release cycle)
If you want to learn Kubernetes in 2026 or 2027, the hard part is not finding material. It is knowing what to learn in which order, what to skip, and when you are ready for production or for a certification. This roadmap answers that. It is written for developers, ops and platform engineers, and students who want to master Kubernetes properly rather than memorise YAML.
Every link below was checked in December 2026. Paid resources are marked (paid). Everything else is free.
Table of contents
- Who this roadmap is for
- The roadmap at a glance
- Stage 0: Prerequisites (Linux, networking, containers)
- Stage 1: Core concepts and kubectl
- Stage 2: Running real applications
- Stage 3: Networking, storage and security
- Stage 4: Cluster administration
- Stage 5: The production ecosystem
- Stage 6: Extending Kubernetes (CRDs, controllers, operators)
- Stage 7: Platform engineering and mastery
- Local cluster options compared
- Managed Kubernetes compared
- Certifications: KCNA, KCSA, CKA, CKAD, CKS
- Best books
- Best courses, videos and labs
- Essential tools
- Projects to build
- Troubleshooting mental model
- Common mistakes
- What changed recently
- FAQ
- Where to go next
- Contributing
Who this roadmap is for
| You are… | Start at | Realistic time to “comfortable” |
|---|---|---|
| A developer who has never used containers | Stage 0 | 3 to 4 months at 6-8 h/week |
| A developer who uses Docker daily | Stage 1 | 6 to 10 weeks |
| A sysadmin or SRE new to Kubernetes | Stage 1, then lean into Stage 4 | 2 to 3 months |
| Already deploy to Kubernetes at work | Stage 3 or 4 | 4 to 8 weeks to fill gaps |
| Preparing for the CKA in a hurry | Stages 1 to 4 + the CKA section | 6 to 8 weeks of focused practice |
“Mastery” here means you can: design how an app runs on Kubernetes, operate a cluster through upgrades and failures, debug any stuck Pod in minutes, secure a cluster sensibly, and extend the API with your own controllers. That takes most people 12 to 18 months of real use. The stages below get you there in a sensible order.
The roadmap at a glance
| Stage | Focus | Time estimate | You are done when you can… |
|---|---|---|---|
| 0 | Linux, networking, containers | 2-4 weeks | Build a container image and explain namespaces/cgroups at a high level |
| 1 | Core objects, kubectl |
2-3 weeks | Deploy, scale, expose and roll back an app on a local cluster |
| 2 | Real apps: config, probes, resources, Helm | 3-4 weeks | Ship a multi-service app with config, secrets, health checks and autoscaling |
| 3 | Networking, storage, RBAC, policies | 3-4 weeks | Explain a packet’s path to a Pod and lock down a namespace |
| 4 | Cluster admin: kubeadm, etcd, upgrades | 3-5 weeks | Build, back up, upgrade and repair a cluster from scratch |
| 5 | Ecosystem: GitOps, observability, ingress/Gateway, autoscaling | 4-6 weeks | Run a GitOps-managed app with metrics, logs, traces and TLS |
| 6 | CRDs, controllers, operators | 3-5 weeks | Write and test a small operator in Go |
| 7 | Platform engineering, multi-tenancy, cost, security depth | ongoing | Design a cluster platform other teams can safely self-serve on |
Stage 0: Prerequisites (Linux, networking, containers)
Time: 2-4 weeks. Skip anything you already know, but do not skip this stage entirely. Most Kubernetes confusion is really Linux or networking confusion.
What to learn
- Linux shell: files, permissions, processes,
systemd/systemctl,journalctl,ps,ss,curl,dig, editing withvimornano(the CKA/CKAD exam terminal is Linux, and you will edit YAML in it). - Networking basics: IP addresses and CIDR, DNS, TCP vs UDP, ports, NAT, load balancers, HTTP and TLS.
- Containers: what an image is, layers, registries,
Dockerfile, port mapping, volumes, and the idea that a container is “just a process” isolated with namespaces and cgroups. - YAML: indentation, lists vs maps, multi-document files (
---).
Resources
| Resource | Type | Why |
|---|---|---|
| The Linux Command Line by William Shotts | Free book (author-hosted PDF) | Gentle, complete shell foundation |
| Docker’s official “Get started” guide | Free docs | Images, containers, Compose |
| Play with Docker classroom labs | Free labs | Hands-on in the browser |
| Julia Evans’ zines | Mostly paid, some free comics | The best short explanations of networking and Linux internals |
| Containers from Scratch talk (Liz Rice) | Free video | Builds a container in Go live, so the “magic” disappears |
Exercise: Write a Dockerfile for a tiny web app in any language, build it, run it with a port mapping, push it to a registry (Docker Hub or GitHub Container Registry). You will deploy this exact image in Stage 1.
Stage 1: Core concepts and kubectl
Time: 2-3 weeks.
Concepts in order
- Why Kubernetes: a declarative API plus control loops that keep reality matching what you declared.
- Architecture: control plane (
kube-apiserver,etcd,kube-scheduler,kube-controller-manager) and nodes (kubelet, container runtime,kube-proxyor a CNI that replaces it). - Pods: the smallest unit. One or more containers sharing network and volumes.
- ReplicaSets and Deployments: desired replica count, rolling updates, rollbacks.
- Services: stable virtual IP and DNS name in front of changing Pods. Types:
ClusterIP,NodePort,LoadBalancer, headless. - Namespaces, labels and selectors: how everything gets grouped and found.
- The declarative workflow:
kubectl apply -fagainst files in Git, not one-off imperative commands.
kubectl skills to drill
kubectl get pods -A -o wide
kubectl describe pod <name>
kubectl logs <pod> -c <container> --previous
kubectl exec -it <pod> -- sh
kubectl create deployment web --image=nginx --replicas=3 --dry-run=client -o yaml > web.yaml
kubectl apply -f web.yaml
kubectl rollout status deploy/web
kubectl rollout undo deploy/web
kubectl expose deploy web --port=80 --target-port=80
kubectl port-forward svc/web 8080:80
kubectl explain deployment.spec.strategy --recursive
kubectl get events --sort-by=.lastTimestamp
kubectl explain and --dry-run=client -o yaml are the two habits that matter most. They let you generate correct YAML without memorising it, and they work in the certification exams.
Resources
| Resource | Type | Notes |
|---|---|---|
| Kubernetes Basics tutorial | Free, official | Short, interactive intro |
| Kubernetes Concepts docs | Free, official | Read Overview, Workloads, Services in that order |
| kubectl Quick Reference | Free, official | The cheat sheet you are allowed to use in exams (docs are open during CKA/CKAD/CKS) |
| Introduction to Kubernetes (LFS158) | Free course, Linux Foundation | Solid structured overview |
| TechWorld with Nana: Kubernetes tutorials | Free YouTube | Clear visual explanations for beginners |
| Killercoda Kubernetes playgrounds | Free browser labs | Real clusters in the browser, no install |
Best pick for Stage 1: the official Concepts docs plus a local kind cluster. The docs are accurate, current to the latest version, and they are what you get in the exam.
Exercise: Deploy your Stage 0 image as a Deployment with 3 replicas, expose it with a Service, change the image tag, watch the rolling update, then roll it back. Delete a Pod and watch the ReplicaSet replace it.
Stage 2: Running real applications
Time: 3-4 weeks. This is the stage that makes you useful at work.
Topics
| Topic | Objects / features | Key idea |
|---|---|---|
| Configuration | ConfigMap, Secret, env vars, mounted files |
Keep config out of images. Secrets are base64 encoded, not encrypted, unless you enable encryption at rest or use an external secret store |
| Health checks | livenessProbe, readinessProbe, startupProbe |
Readiness gates traffic; liveness restarts; startup protects slow starters |
| Resources | requests, limits, QoS classes, LimitRange, ResourceQuota |
Requests drive scheduling; memory limits cause OOMKills; CPU limits cause throttling |
| Autoscaling | HorizontalPodAutoscaler, metrics-server |
Scale replicas on CPU, memory or custom metrics |
| Other workloads | StatefulSet, DaemonSet, Job, CronJob |
Pick the controller that matches the lifecycle |
| Multi-container Pods | init containers, native sidecars (restartPolicy: Always on an init container) |
Sidecars start before and stop after the main container |
| Disruption | PodDisruptionBudget, topologySpreadConstraints, affinity |
Survive node drains and zone failures |
| Packaging | Helm, Kustomize | Helm templates and releases; Kustomize patches plain YAML (built into kubectl -k) |
Helm vs Kustomize
| Helm | Kustomize | |
|---|---|---|
| Model | Go templates + values files, packaged as charts | Overlays and patches on plain YAML |
| Best for | Distributing third-party software; parameterising many installs | Your own apps with dev/staging/prod variations |
| Learning curve | Moderate (templating syntax) | Low |
| Built into kubectl | No | Yes (kubectl apply -k) |
| Verdict | Learn to consume Helm charts first | Use Kustomize for your own manifests until you need Helm’s packaging |
Resources
- Configure Liveness, Readiness and Startup Probes (official task)
- Resource Management for Pods and Containers
- Horizontal Pod Autoscaling walkthrough
- Sidecar containers
- Helm docs and Artifact Hub to find charts
- Kubernetes Patterns, 2nd edition by Bilgin Ibryam and Roland Huß, book site with free example code (the book itself is paid; Red Hat has offered it as a free registered download at times)
Exercise: Take a small app with a web front end, an API and Postgres. Run Postgres as a StatefulSet with a PersistentVolumeClaim, the API with probes and resource requests, add an HPA, and load test it with a tool like k6 until it scales. Package it with Kustomize overlays for dev and prod.
Stage 3: Networking, storage and security
Time: 3-4 weeks. This is where most people’s understanding becomes shallow. Take it slowly.
Networking
- The Kubernetes network model: every Pod gets its own IP, Pods can reach each other without NAT. A CNI plugin implements this (Cilium, Calico, Flannel, cloud-native CNIs like AWS VPC CNI).
- Services under the hood:
kube-proxyprograms iptables or nftables rules; eBPF-based CNIs such as Cilium can replace kube-proxy entirely. The IPVS mode has been scheduled for removal, so learn iptables/nftables mode rather than IPVS. - DNS: CoreDNS gives
my-svc.my-namespace.svc.cluster.local. Learn to debug it with a throwaway Pod runningnslookup. - Ingress and Gateway API: Ingress is the older HTTP routing API. Gateway API is its successor: role-oriented (infra team owns
Gateway, app teams ownHTTPRoute), more expressive, and it now also covers TCP and UDP routes. The community ingress-nginx controller was retired (announced November 2025), so for new work learn Gateway API and pick a maintained implementation. The Ingress2Gateway tool helps migrate. - NetworkPolicy: default allow-all until you add policies, and only enforced if your CNI supports it.
Storage
Volumetypes,PersistentVolume,PersistentVolumeClaim,StorageClass, dynamic provisioning, access modes (ReadWriteOnce,ReadWriteMany,ReadWriteOncePod), reclaim policies,VolumeSnapshot.- CSI drivers are how real storage (EBS, Persistent Disk, Ceph via Rook, Longhorn) plugs in.
Security
| Layer | What to learn |
|---|---|
| API access | Authentication (certs, OIDC, service account tokens), RBAC (Role, ClusterRole, bindings), kubectl auth can-i |
| Workload | securityContext (runAsNonRoot, readOnlyRootFilesystem, dropping capabilities), Pod Security Admission (privileged, baseline, restricted levels) |
| Network | Default-deny NetworkPolicies per namespace |
| Secrets | Encryption at rest, external secret stores (External Secrets Operator), never commit plaintext secrets |
| Supply chain | Image scanning (Trivy), signing (Sigstore cosign), admission policies |
| Policy | ValidatingAdmissionPolicy (built-in, CEL-based), Kyverno, OPA Gatekeeper |
Resources
- Cluster Networking and Services, Load Balancing, and Networking
- Storage concepts
- Security concepts and the Pod Security Standards
- Using RBAC Authorization
- Network Policy Editor and tutorials by Cilium (free visual editor)
- Kubernetes NetworkPolicy recipes by Ahmet Alp Balkan
- Life of a packet in Kubernetes (KubeCon talk, free)
Exercise: In one namespace, apply a default-deny NetworkPolicy, then open only front end to API and API to database. Create a ServiceAccount with a Role that can only read ConfigMaps and prove it with kubectl auth can-i --as=system:serviceaccount:ns:name. Label the namespace with pod-security.kubernetes.io/enforce=restricted and fix every Pod until it is admitted.
Stage 4: Cluster administration
Time: 3-5 weeks. Needed for the CKA and for anyone who will be paged about a cluster.
Topics
- Installing a cluster with kubeadm (control plane init, joining workers, installing a CNI).
- etcd: what it stores, backup with
etcdctl snapshot save, restore, quorum and why you run 3 or 5 members. - Upgrades: control plane first, one minor version at a time, then drain and upgrade each node (
kubectl drain,kubeadm upgrade,kubectl uncordon). Kubernetes supports roughly the three most recent minor versions, each with about a year of patches, so you will upgrade at least yearly. - Certificates: where they live (
/etc/kubernetes/pki), checking expiry withkubeadm certs check-expiration, renewing. - Node troubleshooting:
kubeletstatus and logs, container runtime (containerd) withcrictl, disk and memory pressure,NotReadynodes. - Scheduling: taints and tolerations, node affinity, priority classes, preemption.
- cgroup v2: the default on modern distros; cgroup v1 support is being phased out of Kubernetes.
Resources
| Resource | Type | Why |
|---|---|---|
| Kubernetes The Hard Way by Kelsey Hightower | Free guide | Bootstrap every component manually; you will never fear the control plane again |
| Creating a cluster with kubeadm | Official | The CKA’s installation method |
| Upgrading kubeadm clusters | Official | Memorise this flow |
| Operating etcd clusters for Kubernetes | Official | Backup and restore |
| Kubernetes Release cycle and version skew policy | Official | What versions can talk to each other |
Exercise: On three small VMs (or with Multipass or Lima on a laptop), build a cluster with kubeadm, take an etcd snapshot, deliberately delete a Deployment, restore the snapshot, then upgrade the whole cluster by one minor version without downtime for a running app.
Stage 5: The production ecosystem
Time: 4-6 weeks. Kubernetes alone is a kernel. Production clusters are a distribution you assemble. Learn one good option in each category.
| Category | Learn first (best pick) | Alternatives | Why the pick |
|---|---|---|---|
| GitOps | Argo CD | Flux | Great UI makes the reconciliation model visible while you learn |
| Metrics | Prometheus + Grafana via kube-prometheus-stack | VictoriaMetrics, managed Prometheus | The de facto standard; PromQL transfers everywhere |
| Logs | Grafana Loki | OpenSearch, Elastic, cloud logging | Cheap label-based logs that pair with Grafana |
| Traces and telemetry | OpenTelemetry | vendor agents | Vendor-neutral, the future of instrumentation |
| Ingress / Gateway | A Gateway API implementation (for example Envoy Gateway, Cilium, Istio, NGINX Gateway Fabric) | Traefik, HAProxy | Gateway API is where the ecosystem is heading |
| TLS certificates | cert-manager | cloud certificate managers | Automates Let’s Encrypt and internal CAs |
| DNS records | ExternalDNS | manual | Creates DNS records from Services/Routes |
| Node autoscaling | Karpenter (AWS, Azure) | Cluster Autoscaler | Faster, bin-packs well, picks instance types for you |
| Event-driven autoscaling | KEDA | HPA with custom metrics | Scale on queue length, Kafka lag, cron, scale to zero |
| Service mesh (only if needed) | Linkerd | Istio (including ambient mode), Cilium | Linkerd is the smallest learning curve; reach for a mesh only for mTLS/traffic needs you cannot meet otherwise |
| Backup | Velero | cloud-native snapshots | Backs up resources and volumes |
| Policy | Kyverno | Gatekeeper, built-in ValidatingAdmissionPolicy | Policies are YAML, easy to read |
| Runtime security | Falco | Tetragon | Detects suspicious syscalls at runtime |
| Cost | OpenCost | Kubecost (paid tiers) | Free, CNCF project |
Use the CNCF Landscape to see the alternatives, but do not try to learn it. Pick, learn, move on.
Exercise: Bootstrap Argo CD on a cluster, point it at a Git repo with your Stage 2 app, then install kube-prometheus-stack, Loki and cert-manager through Argo CD. Break the app on purpose (bad image tag) and find the problem from Grafana alone.
Stage 6: Extending Kubernetes (CRDs, controllers, operators)
Time: 3-5 weeks. The jump from user to expert. You will understand why Kubernetes is designed the way it is.
Concepts
- The API machinery: resources, groups and versions,
metadata.resourceVersion, watches, server-side apply, finalizers, owner references and garbage collection. - CustomResourceDefinitions (CRDs): add your own types, with OpenAPI validation and CEL validation rules.
- Controllers: the reconcile loop: observe current state, compare to desired, act, requeue. Must be idempotent and level-triggered.
- Operators: controllers that encode operational knowledge for a specific piece of software.
- Admission webhooks and the built-in
ValidatingAdmissionPolicy/MutatingAdmissionPolicy.
Resources
| Resource | Type | Notes |
|---|---|---|
| The Kubebuilder Book | Free, official SIG project | Best pick. Builds a CronJob controller step by step |
| controller-runtime | Library | What Kubebuilder and Operator SDK use under the hood |
| Operator SDK | Free | Adds Ansible/Helm operator options |
| client-go | Library | The low-level Go client |
| Sample controller | Official example | A controller without frameworks; read it once |
| Programming Kubernetes by Michael Hausenblas and Stefan Schimanski | (paid) book | Deep dive on API machinery; older (2019) but concepts hold |
| Extending Kubernetes docs | Official | Map of all extension points |
Exercise: Build a Website CRD whose controller creates a Deployment, Service and HTTPRoute for a given image and hostname, sets status conditions, and cleans up with owner references. Test it with envtest.
Stage 7: Platform engineering and mastery
Time: ongoing. This is what senior Kubernetes and platform engineers spend their time on.
- Multi-tenancy: namespace-per-team with quotas, RBAC, NetworkPolicies, Pod Security; or virtual clusters (vCluster); or cluster-per-team managed by Cluster API.
- Internal developer platforms: golden paths, templates, a portal like Backstage, and composition with Crossplane.
- Reliability: SLOs, chaos testing (Chaos Mesh, LitmusChaos), multi-zone and multi-region design, disaster recovery drills.
- Scale and performance: API server and etcd tuning, large clusters, the scheduler framework, priority and fairness.
- AI/ML workloads: GPU scheduling with device plugins and Dynamic Resource Allocation (DRA), batch queueing with Kueue, job frameworks like Kubeflow.
- Security depth: threat modelling, the CIS Kubernetes Benchmark (checked with kube-bench), audit logging, runtime detection.
- Contributing upstream: the Kubernetes Contributor Guide and the
good first issuelabel. Reading KEPs (Kubernetes Enhancement Proposals) is the fastest way to understand why features exist.
Local cluster options compared
| Tool | What it is | Multi-node | Resource use | Best for |
|---|---|---|---|---|
| kind | Kubernetes nodes as Docker containers | Yes | Low | Best pick for learning, CI and testing controllers |
| minikube | Single or multi-node VM/container cluster with add-ons | Yes | Medium | Beginners who want a one-command dashboard and add-ons |
| k3d | k3s in Docker | Yes | Very low | Fast throwaway clusters |
| k3s | Lightweight certified distro | Yes | Very low | Raspberry Pi, edge, home labs |
| Docker Desktop Kubernetes | Built into Docker Desktop | kind-based option supports it | Medium | If you already run Docker Desktop (check its license terms for company use) |
| Rancher Desktop | Desktop app with k3s | No | Medium | Free Docker Desktop alternative with Kubernetes |
| MicroK8s | Snap-packaged distro | Yes | Low-medium | Ubuntu users |
| kubeadm on VMs | The “real” install | Yes | High | CKA practice |
Managed Kubernetes compared
| Service | Provider | Notes |
|---|---|---|
| Amazon EKS | AWS | Most common in industry; control plane billed per hour; Auto Mode can manage nodes for you; strong pairing with Karpenter |
| Google Kubernetes Engine (GKE) | Google Cloud | Often considered the most polished; Autopilot mode removes node management |
| Azure Kubernetes Service (AKS) | Microsoft | Deep Entra ID integration; AKS Automatic mode |
| DigitalOcean Kubernetes | DigitalOcean | Simple, affordable, good for side projects |
| Linode Kubernetes Engine | Akamai | Simple and affordable |
| Civo | Civo | k3s-based, fast cluster creation |
Learning advice: learn upstream Kubernetes locally first, then one managed service. The cloud-specific parts (IAM integration, load balancers, storage classes, node pools) are the smaller part of the job. Always set billing alerts before creating a cloud cluster.
Certifications: KCNA, KCSA, CKA, CKAD, CKS
All five are run by the Linux Foundation and CNCF. The three “CK” exams are performance-based: you solve real tasks in a live terminal against real clusters, with the official Kubernetes docs open. That is why they are respected. Prices below are the regular list prices on the Linux Foundation site in December 2026; the Linux Foundation runs frequent discounts and bundles, so check before you buy.
| Exam | Format | Length | Regular price | Validity | Who it is for |
|---|---|---|---|---|---|
| KCNA | Multiple choice | 90 min | $250 | 2 years | Beginners, non-engineers, students |
| KCSA | Multiple choice | 90 min | check site | 2 years | Security-curious beginners |
| CKA | Hands-on | 2 h | $445 | 2 years | Admins, SREs, platform engineers |
| CKAD | Hands-on | 2 h | $445 | 2 years | Developers deploying to Kubernetes |
| CKS | Hands-on | 2 h | $445 | 2 years | Security specialists (must already hold the CKA) |
Each CK exam purchase includes one free retake and two sessions of the killer.sh exam simulator. Holding all five makes you a CNCF Kubestronaut (program details).
Which one first?
- Developer: CKAD. It is the most practical and the fastest to prepare for.
- Ops, SRE, platform: CKA. It covers installation, upgrades and troubleshooting.
- Security: CKA, then CKS.
- Career changer with no Linux background: KCNA to get the vocabulary, then CKAD or CKA once Stage 3 is solid.
CKA (Certified Kubernetes Administrator)
Domain weights (curriculum for Kubernetes v1.37):
| Domain | Weight |
|---|---|
| Troubleshooting | 30% |
| Cluster Architecture, Installation and Configuration | 25% |
| Services and Networking | 20% |
| Workloads and Scheduling | 15% |
| Storage | 10% |
The official curriculum PDF lives in the CNCF curriculum repository. Note that troubleshooting is the biggest domain.
CKAD (Certified Kubernetes Application Developer)
| Domain | Weight |
|---|---|
| Application Environment, Configuration and Security | 25% |
| Application Design and Build | 20% |
| Application Deployment | 20% |
| Services and Networking | 20% |
| Application Observability and Maintenance | 15% |
CKS (Certified Kubernetes Security Specialist)
| Domain | Weight |
|---|---|
| Minimize Microservice Vulnerabilities | 20% |
| Supply Chain Security | 20% |
| Monitoring, Logging and Runtime Security | 20% |
| Cluster Setup | 15% |
| Cluster Hardening | 15% |
| System Hardening | 10% |
A 6-week CKA plan (8-10 h/week)
| Week | Focus | Practice |
|---|---|---|
| 1 | Core objects, imperative commands, kubectl explain, vim setup |
Create 20 resources imperatively with --dry-run=client -o yaml |
| 2 | Scheduling, workloads, config, resource limits | Taints, affinity, static Pods, DaemonSets |
| 3 | Networking: Services, DNS, NetworkPolicy, Gateway API/Ingress | Debug a broken Service and DNS lookup |
| 4 | Storage, RBAC, kubeadm install, etcd backup/restore | Full etcd restore twice from memory |
| 5 | Upgrades, troubleshooting nodes and control plane | Break kubelet, static Pod manifests and certificates, then fix them |
| 6 | Timed practice | Both killer.sh sessions; review every wrong answer; redo the hardest tasks |
Exam-day tips
- Set up quickly:
alias k=kubectlis usually preconfigured; checkexport do="--dry-run=client -o yaml"style shortcuts work for you. - Always switch context at the start of each task. The question gives you the command. Missing it is the most common way to lose points.
- Skip tasks that take too long and flag them. Points are per task, and partial work can earn credit.
- Bookmark nothing (bookmarks are not allowed), but know where things are in the docs: the kubectl quick reference, the NetworkPolicy page, the etcd backup page, the kubeadm upgrade page.
- Practise in a terminal without your usual shell tweaks; the exam environment is a remote desktop.
Free and paid prep
| Resource | Type | Notes |
|---|---|---|
| Killercoda CKA/CKAD/CKS scenarios | Free | Browser labs, many community scenarios |
| killer.sh | Included with exam | Harder than the real exam on purpose |
| CKAD exercises by dgkanatsios | Free GitHub | Classic practice question set |
| Certified Kubernetes Administrator with Practice Tests (KodeKloud, Mumshad Mannambeth) | (paid) | Extremely popular structured course with labs |
| CKAD course with practice tests (KodeKloud) | (paid) | Same author, developer track |
| Kubernetes Fundamentals LFS258 | (paid) | Official LF course, often bundled with the exam |
Best books
| Book | Author(s) | Level | Cost | Why read it |
|---|---|---|---|---|
| Kubernetes Patterns, 2nd ed. | Bilgin Ibryam, Roland Huß | Intermediate | (paid), free examples | Reusable design patterns for cloud native apps |
| Kubernetes: Up and Running, 3rd ed. | Brendan Burns, Joe Beda, Kelsey Hightower, Lachlan Evenson | Beginner-intermediate | (paid) | Written by Kubernetes co-creators; best first book |
| Kubernetes in Action | Marko Lukša (2nd ed. with Kevin Conner) | Beginner to advanced | (paid) | Most thorough explanation of how each object really works |
| The Kubernetes Book | Nigel Poulton | Beginner | (paid) | Short, updated regularly, very readable |
| Production Kubernetes | Josh Rosso, Rich Lander, Alex Brand, John Harris | Advanced | (paid) | Real platform decisions: networking, multi-tenancy, policy |
| Kubernetes Best Practices, 2nd ed. | Brendan Burns, Eddie Villalba, Dave Strebel, Lachlan Evenson | Intermediate | (paid) | Short practical chapters |
| Hacking Kubernetes | Andrew Martin, Michael Hausenblas | Advanced | (paid) | Threat-driven security from an attacker’s view |
| Container Security | Liz Rice | Intermediate | (paid) | How isolation actually works; pairs with the CKS |
| Programming Kubernetes | Michael Hausenblas, Stefan Schimanski | Advanced | (paid) | Controllers, CRDs, client-go |
Best pick if you buy one book: Kubernetes: Up and Running for breadth, or Kubernetes in Action if you want depth and do not mind length. Kubernetes Patterns is worth reading after either.
Best courses, videos and labs
Free
| Resource | Format | Level |
|---|---|---|
| Kubernetes official tutorials | Docs + labs | Beginner-intermediate |
| Introduction to Kubernetes LFS158 | Self-paced course | Beginner |
| Introduction to Cloud Infrastructure Technologies LFS151 | Self-paced course | Beginner |
| freeCodeCamp YouTube channel (search “Kubernetes course”) | Long-form video | Beginner |
| TechWorld with Nana | Video | Beginner |
| CNCF YouTube channel (KubeCon talks) | Conference talks | All levels; search by topic |
| Learnk8s articles | Long-form articles | Intermediate; excellent deep dives |
| A visual guide on troubleshooting Kubernetes deployments | Flowchart | All |
| Killercoda | Browser labs | All |
| Kubernetes Failure Stories | Post-mortem collection | Intermediate-advanced; learn from other people’s outages |
| Kubernetes Podcast from Google | Podcast | All |
| Last Week in Kubernetes Development | Newsletter | Advanced; upstream changes |
Paid
| Resource | Notes |
|---|---|
| KodeKloud (paid) | Lab-heavy courses for CKA/CKAD/CKS and DevOps |
| Linux Foundation Kubernetes courses (paid) | Official, bundled with exams |
| Learnk8s training (paid) | Instructor-led, advanced topics |
Essential tools
| Tool | Purpose |
|---|---|
| kubectl | The CLI. Learn it deeply before any GUI |
| k9s | Terminal UI to navigate clusters fast |
| kubectx and kubens | Switch contexts and namespaces |
| stern | Tail logs from many Pods at once |
| krew | kubectl plugin manager |
| Headlamp | Web/desktop UI; the Kubernetes project points Dashboard users toward it |
| Helm | Package manager |
| kubeconform | Validate manifests against schemas in CI |
| Trivy | Scan images, manifests and clusters |
| Popeye | Cluster sanitizer that flags misconfigurations |
| Tilt / Skaffold | Fast inner-loop development on Kubernetes |
| Telepresence / mirrord | Run a local process as if it were in the cluster |
Projects to build
Ordered from easiest to hardest. Each one maps to a stage.
- Static site on kind (Stage 1): Deployment + Service + port-forward. Then add a ConfigMap-mounted
index.html. - Guestbook with Redis (Stage 2): the classic. Follow the official PHP Guestbook tutorial, then rewrite it with probes, resources and Kustomize overlays.
- Three-tier app with Postgres StatefulSet (Stage 2-3): backups to object storage with a CronJob, NetworkPolicies, Pod Security
restricted. - Autoscaling demo (Stage 2/5): HPA on CPU, then KEDA scaling a worker on queue depth (for example Redis or RabbitMQ), including scale to zero.
- Hard-way cluster (Stage 4): complete Kubernetes The Hard Way, then rebuild with kubeadm and compare.
- Chaos day (Stage 4-5): drain nodes, kill etcd members, corrupt a kubelet config, fill a disk. Write down each symptom and fix.
- GitOps platform (Stage 5): Argo CD app-of-apps managing cert-manager, a Gateway API controller, ExternalDNS, kube-prometheus-stack and your app, all from Git.
- Observability drill (Stage 5): instrument a service with OpenTelemetry, send traces, define an SLO and an alert, trigger it.
- Write an operator (Stage 6): a CRD + controller in Go with Kubebuilder, status conditions, finalizers and envtest tests.
- Mini internal platform (Stage 7): self-service namespaces via a CRD or Backstage template, with quotas, RBAC and policies applied automatically.
Put each project in a public repo with a short README explaining what you learned. That is a stronger signal to employers than any certificate alone.
Troubleshooting mental model
When something is broken, walk the chain from the outside in:
Client -> DNS -> Load balancer / Gateway -> Route/Ingress -> Service -> Endpoints(Slices) -> Pod -> Container -> App
| Symptom | First command | Usual causes |
|---|---|---|
Pending Pod |
kubectl describe pod (Events) |
Insufficient CPU/memory, taints, unbound PVC, node selector/affinity mismatch, quota |
ImagePullBackOff |
kubectl describe pod |
Wrong tag, private registry without imagePullSecrets, rate limits |
CrashLoopBackOff |
kubectl logs --previous |
App error, bad config, failing liveness probe, missing env/secret |
OOMKilled |
kubectl describe pod (Last State) |
Memory limit too low or leak |
| Service returns nothing | kubectl get endpointslices -l kubernetes.io/service-name=<svc> |
Selector does not match Pod labels, readiness probe failing, wrong targetPort |
| DNS fails | kubectl run tmp --rm -it --image=busybox:1.36 -- nslookup <svc> |
CoreDNS down, NetworkPolicy blocking port 53 |
Node NotReady |
ssh node; systemctl status kubelet; journalctl -u kubelet |
kubelet stopped, runtime down, expired certs, disk pressure |
kubectl cannot connect |
kubectl config current-context, check API server |
Wrong context, expired kubeconfig, control plane static Pod broken |
The learnk8s troubleshooting flowchart is worth printing.
Common mistakes
- Learning tools before concepts. Installing Istio before you understand Services is a recipe for confusion.
- No resource requests. Without requests the scheduler is guessing, and noisy neighbours take down your app.
- Liveness probes that check dependencies. If the database is down, restarting every API Pod will not help and may cause a cascade. Liveness should check the process only.
- Using
latesttags. You cannot roll back to “latest”. Pin versions or digests. - Treating Secrets as secure by default. They are base64, readable by anyone with
get secretsin the namespace. - Running everything as root with no NetworkPolicies. Start from
restrictedPod Security and default-deny networking. - Never practising upgrades. Kubernetes moves fast; an unpractised upgrade becomes an outage.
- Clicking in dashboards instead of committing YAML to Git. If it is not in Git, it will drift.
- Running Kubernetes when you do not need it. For one small app, a PaaS or a single VM can be the better engineering choice. Knowing when not to use Kubernetes is part of mastery.
What changed recently
A short list of changes that make older tutorials misleading. Check the Kubernetes blog and release notes for details.
- Kubernetes ships three minor releases a year. v1.35 (December 2025), v1.36 (April 2026) and v1.37 (August 2026) are the maintained branches as of this review; v1.38 is in development.
- ingress-nginx was retired. The Kubernetes project announced the retirement of the community ingress-nginx controller in November 2025. Use a maintained Gateway API or Ingress implementation; Ingress2Gateway 1.0 helps migrate.
- Gateway API keeps growing. TCPRoute and UDPRoute reached the standard channel in Gateway API v1.6 (2026).
- The kube-proxy IPVS backend is scheduled for removal. Prefer iptables or nftables mode, or an eBPF CNI.
- cgroup v2 is the norm. Older nodes on cgroup v1 need migrating.
- Kubernetes Dashboard users are pointed to Headlamp. The project published a migration guide in 2026.
- Native sidecar containers are stable, replacing many custom sidecar hacks.
- Dockershim is long gone (removed in v1.24). Nodes use containerd or CRI-O; Docker-built images still run fine.
- PodSecurityPolicy is gone (removed in v1.25). Use Pod Security Admission and a policy engine.
FAQ
How long does it take to learn Kubernetes? With container experience, 2-3 months of steady practice gets you productive (Stages 1-3). Being trusted with production clusters typically takes 6-12 months of real use. Expert-level (operators, platform design) is a multi-year journey.
Should I learn Docker before Kubernetes? Learn containers, not necessarily Docker the product. You need to build images and understand how containers run. Any of Docker, Podman or nerdctl will teach that.
Is Kubernetes hard to learn? The core API is learnable in weeks. What feels hard is the surrounding ecosystem and the networking. Following stages in order and building projects makes it manageable.
Do I need to know Go? Not to use or operate Kubernetes. You need Go (or another language with a good client library) for Stage 6, writing controllers.
Which certification is best: CKA or CKAD? CKAD for developers, CKA for operators and platform roles. If you can only take one and want maximum job-market value, the CKA is the most widely requested.
Is the CKA worth it in 2027? It is respected because it is hands-on. It will not replace experience, but it structures your learning and helps get past CV filters. Combine it with public projects.
Is the CKA exam open book? You may use the official Kubernetes documentation (kubernetes.io/docs and a few related sites listed in the exam rules) in the exam browser. No other notes.
Can I learn Kubernetes for free? Yes. The official docs, Kubernetes The Hard Way, LFS158, Killercoda, kind and the free resources in this README cover everything. You only pay if you want certifications or a paid course.
What laptop do I need? 8 GB of RAM is enough for a single kind cluster; 16 GB is comfortable for multi-node clusters with monitoring. Browser labs (Killercoda) need nothing.
Kubernetes vs Docker Swarm vs Nomad? Kubernetes dominates the job market and ecosystem. Nomad is simpler and good for mixed workloads; Swarm is simple but sees little new adoption. Learn Kubernetes for career value.
What is the difference between Kubernetes and OpenShift? OpenShift is Red Hat’s Kubernetes distribution with extra opinions (security defaults, build tools, a console). Everything you learn here transfers.
Do I need a service mesh? Probably not at first. Add one when you have a concrete need such as mTLS everywhere, advanced traffic shifting or uniform telemetry you cannot get otherwise.
Where to go next
- Go deeper on the cloud: learn one provider’s managed offering end to end, for example the EKS Best Practices Guides or GKE documentation.
- Upstream: join the Kubernetes Slack, pick a SIG from the community repo, and read the contributor guide.
- Adjacent skills: Terraform or OpenTofu for infrastructure as code, Go for controllers, Linux performance tooling, and observability with OpenTelemetry.
- Conferences: KubeCon + CloudNativeCon talks are posted free on the CNCF YouTube channel.
Contributing
Corrections and additions are welcome.
- Open an issue for broken links, outdated facts (prices and versions change often) or missing topics.
- Pull requests should keep resources free or clearly marked (paid), link only to legal sources, and explain in one line why a resource belongs.
- Keep the tone practical and the stages in order. Please do not add affiliate links.
If this helped you, a star helps others find it.
License
Content is licensed under CC BY 4.0.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.