Kubernetes Roadmap 2026: Learning Path from Beginner to CKA
Learn Kubernetes step by step: core objects, networking, storage, Helm, GitOps, EKS, observability and security, with free labs, projects and CKA/CKS prep.
Level: Intermediate · Time: 4–6 months at ~8 h/week · Updated October 2026 by Ali Bashir
Who this roadmap is for
Engineers who are comfortable with Linux and Docker and want to run containers at scale, or prepare for the CKA, CKAD or CKS exams.
By the end you can
- Deploy, scale and roll back apps with confidence
- Debug Pods, Services and networking issues
- Ship with Helm and GitOps (Argo CD)
- Run production clusters on EKS with Terraform
- Pass the CKA
Step 1: Kubernetes basics and architecture
Before writing YAML, it helps to know what problem Kubernetes solves and what the parts of a cluster do. A small local cluster on your laptop lets you try everything for free.
Time: 1–2 weeks. Skip if you can explain what the control plane, etcd and kubelet do and run a local cluster with kind or minikube.
Topics
- What is Kubernetes?
- Kubernetes (K8s) runs your containers across many servers and keeps them healthy: it restarts crashed apps, spreads load and rolls out new versions. You describe what you want in a file and Kubernetes keeps making it true. Kubernetes docs: Overview Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (What is K8s) Video: Kubernetes Explained in 100 Seconds
- Containers refresher
- Kubernetes runs containers, so you should already be able to build an image, run it and read its logs with Docker. A container packs an app with everything it needs, so it runs the same on any machine. Images you build with Docker run fine on Kubernetes, even though Kubernetes itself now uses containerd or CRI-O instead of Docker (dockershim was removed in 1.24). Docker docs: Docker overview Kubernetes docs: Containers Course: Kubernetes Crash Course: Learn the Basics and Build a Microservice Application (What are Containers?) Video: Kubernetes for Beginners - Docker Introduction in 15 Minutes | KodeKloud
- Control plane
- The control plane is the brain of the cluster. The API server takes every request, the scheduler picks a node for each new Pod, and controllers keep fixing anything that does not match what you asked for. Kubernetes docs: Cluster architecture Kubernetes docs: Components Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (K8s Architecture) Video: Kubernetes Explained in 6 Minutes | k8s Architecture
- etcd
- etcd is the database where the cluster stores everything it knows: every Pod, Service and Secret. If etcd is lost and you have no backup, the cluster forgets everything, so it must be backed up. etcd documentation Kubernetes docs: Operating etcd Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (K8s Architecture) Video: What is etcd?
- Nodes & kubelet
- Nodes are the servers that run your Pods. On each one, the kubelet agent starts containers through a container runtime like containerd and reports back to the control plane, and kube-proxy helps route Service traffic. Kubernetes docs: Nodes Kubernetes docs: kubelet Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (K8s Architecture) Video: Kubernetes Architecture explained | Kubernetes Tutorial 15
- YAML manifests
- You tell Kubernetes what you want in YAML files called manifests. Every manifest has apiVersion, kind, metadata and spec. Indentation matters, so learn basic YAML rules first. Kubernetes docs: Objects in Kubernetes Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (K8s YAML Configuration File) Video: Kubernetes YAML File Explained - Deployment and Service | Kubernetes Tutorial 19
- kind
- kind (Kubernetes in Docker) runs a full cluster inside Docker containers on your laptop in about a minute. It is free, supports several nodes and is easy to delete and recreate, which makes it great for practice. kind quick start kind on GitHub Course: Complete Kubernetes Course - From BEGINNER to PRO (Installation and Set Up (KinD, Civo, GKE)) Video: How to run local multi-node Kubernetes clusters using kind
- minikube (alternative)
- minikube runs a local Kubernetes cluster on your laptop, with add-ons like a dashboard and metrics-server you can turn on with one command. An alternative to kind; pick one. minikube start Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (Minikube and kubectl - Local Setup) Video: Minikube and Kubectl explained | Setup for Beginners | Kubernetes Tutorial 17
- k3s (alternative)
- k3s is a small, certified Kubernetes that runs as one program, so it works well on cheap VMs, a Raspberry Pi or a home lab. An alternative to kind for a local or small cluster; pick one. K3s documentation K3s quick start Video: Stop Avoiding Kubernetes - Set Up a K3S Cluster at Home
Project: Your first local cluster
Install kind and create a cluster with one control-plane node and two worker nodes from a small config file. Deploy nginx from a YAML file you wrote, list the Pods with -o wide to see which node each landed on, then delete one node container and watch Kubernetes move the Pods.
Common mistakes
- Trying to learn Kubernetes before Docker basics feel comfortable. Kubernetes runs containers, so image, port and log problems look the same but harder. Be able to build, run and debug a container on its own first.
- Practising on a cloud cluster and forgetting it is running. Managed clusters and their load balancers cost money every hour. Learn on kind, minikube or k3s locally, and delete cloud clusters when you finish.
- Copying YAML from the internet without understanding each field. Small indentation or apiVersion mistakes cause confusing errors. Use kubectl explain <kind>.spec to read what each field means and kubectl apply --dry-run=server to check it.
You're ready to move on when you can
- Explain why teams use Kubernetes instead of running containers by hand
- Name the control plane parts (API server, scheduler, controller manager, etcd) and what each does
- Explain what the kubelet does on a worker node
- Create and delete a local cluster with kind or minikube
Step 2: Core objects
Kubernetes is a control loop: you declare what you want and it keeps making it true. Pods, Deployments and Services are the vocabulary for everything that follows.
Time: 2–3 weeks. Skip if you can create, scale, update and expose a Deployment with kubectl without looking things up.
Topics
- Pods
- A Pod is the smallest thing Kubernetes runs: one or more containers that share the same IP address and storage. Everything you deploy ends up as Pods, so knowing how they start, restart and fail is the base for all debugging. Kubernetes docs: Pods Kubernetes docs: Pod lifecycle Course: Kubernetes Crash Course: Learn the Basics and Build a Microservice Application (Kubernetes PODs) Video: Containers vs Pods My short: Container vs Pod in 30 Seconds
- Deployments & ReplicaSets
- A Deployment says how many copies (replicas) of a Pod you want, and uses a ReplicaSet to keep exactly that many running. It also rolls out new versions step by step and can roll back, which is how most apps are shipped. Kubernetes docs: Deployments Kubernetes docs: ReplicaSet Course: Kubernetes Crash Course: Learn the Basics and Build a Microservice Application (ReplicaSets) Video: Kubernetes Pods, ReplicaSets, and Deployments in 5 Minutes
- Services
- Pods come and go and their IP addresses change. A Service gives a group of Pods one stable name and address, so other apps can always reach them. Kubernetes docs: Service Course: Kubernetes Crash Course: Learn the Basics and Build a Microservice Application (Services) Video: Kubernetes Services explained | ClusterIP vs NodePort vs LoadBalancer vs Headless Service
- Namespaces
- Namespaces split one cluster into separate areas for teams, apps or environments like dev and prod. Access rules, quotas and network rules are usually set per namespace, so a clean layout makes the cluster easier to manage. Kubernetes docs: Namespaces Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (Organizing your components with K8s Namespaces) Video: Namespaces in Kubernetes
- kubectl fluency
- kubectl is the command line tool you use to talk to a cluster. Getting quick with get, describe, logs, exec and apply is what lets you see and fix problems fast. kubectl quick reference Kubernetes docs: kubectl overview Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (Main Kubectl Commands - K8s CLI) Video: Kubectl Basic Commands - Create and Debug Pod in a Minikube cluster | Kubernetes Tutorial 18
- Labels & selectors
- Labels are key-value tags like app=web that you put on objects. Selectors pick objects by their labels, and this is how Services, Deployments and many tools find the right Pods. Kubernetes docs: Labels and selectors Course: Kubernetes Crash Course: Learn the Basics and Build a Microservice Application (ReplicaSets) Video: Kubernetes Labels & Selectors Explained | Add Delete Filter Pods (Hands-On)
- Jobs
- A Job runs a Pod until a task finishes, like a database migration or a report, and retries it if it fails. Unlike a Deployment, it does not keep the Pod running forever. Kubernetes docs: Jobs Course: Complete Kubernetes Course - From BEGINNER to PRO (Built-in Kubernetes Resources) Video: [ Kube 11 ] Jobs & Cronjobs in Kubernetes Cluster
- CronJobs
- A CronJob creates a Job on a schedule, for example every night at 2am, using the same time format as Linux cron. Use it for backups, cleanups and reports. Kubernetes docs: CronJob Course: Complete Kubernetes Course - From BEGINNER to PRO (Built-in Kubernetes Resources) Video: How to create repeating jobs (aka CronJobs) in Kubernetes?
- DaemonSets
- A DaemonSet runs one copy of a Pod on every node (or on chosen nodes). Log collectors, monitoring agents and network plugins are usually DaemonSets. Kubernetes docs: DaemonSet Course: Complete Kubernetes Course - From BEGINNER to PRO (Built-in Kubernetes Resources) Video: Day 12/40 - Kubernetes Daemonset Explained - Daemonsets, Job and Cronjob in Kubernetes
Project: Self-healing app on kind
Create a multi-node kind cluster, deploy an app with 3 replicas, expose it with a Service, then delete Pods and a node and watch Kubernetes recover. Write the commands down as your own cheat sheet.
Common mistakes
- Creating bare Pods instead of using a Deployment. A bare Pod is not recreated if its node fails or it is deleted. Use a Deployment so Kubernetes keeps the right number of replicas running.
- Service selector labels not matching the Pod labels. The Service then has no endpoints and traffic goes nowhere. Compare the labels with kubectl get pods --show-labels and check kubectl get endpointslices.
- Running every command against the wrong namespace or cluster. kubectl uses the current context and the default namespace unless told otherwise. Check with kubectl config current-context and always pass -n, or use a tool like kubens.
You're ready to move on when you can
- Generate YAML with kubectl instead of writing it from scratch
- Explain what a ReplicaSet does when a Pod dies
- Reach a Pod through a Service from another Pod
- Use kubectl describe and logs to find why a Pod won't start
Step 3: Configuration and scheduling
Real apps need configuration, health checks and fair resource use. Getting probes and limits wrong is the most common cause of mysterious restarts and noisy neighbours.
Time: 2 weeks. Skip if your Deployments always have probes, requests and limits, and you know what OOMKilled means.
Topics
- ConfigMaps & Secrets
- ConfigMaps hold normal settings and Secrets hold passwords and keys, and both are passed into Pods as environment variables or files. Secrets are only base64 encoded (not encrypted) by default, so you must protect who can read them. Kubernetes docs: ConfigMaps Kubernetes docs: Secrets Course: Complete Kubernetes Course - From BEGINNER to PRO (Built-in Kubernetes Resources) Video: Kubernetes ConfigMap and Secret as Kubernetes Volumes | Demo
- Liveness/readiness probes
- Probes are health checks. A readiness probe decides if a Pod should get traffic yet, and a liveness probe restarts a container that has frozen. Bad probe settings cause restart loops or send users to Pods that are not ready. Kubernetes docs: Configure probes Video: Kubernetes Health Checks: Liveness vs. Readiness vs. Startup Probe
- Requests & limits
- Requests tell Kubernetes how much CPU and memory a container needs, and limits set the most it may use. Without them nodes get overloaded, and a container that uses more memory than its limit is killed (OOMKilled). Kubernetes docs: Resource management Course: Kubernetes Course – Certified Kubernetes Administrator Exam Preparation (2026 Update) (Workloads & Scheduling) Video: Day 16/40 - Kubernetes Requests and Limits - CKA Full Course 2025 My short: Why Your Pods Get OOMKilled
- Affinity & taints
- Affinity rules pull Pods toward certain nodes or toward each other. Taints keep Pods off a node unless the Pod has a matching toleration. Together they control where Pods run, for example on GPU nodes or spread across zones. Kubernetes docs: Assigning Pods to nodes Kubernetes docs: Taints and tolerations Course: Kubernetes Course – Certified Kubernetes Administrator Exam Preparation (2026 Update) (Workloads & Scheduling) Video: Kubernetes Node Selector vs Node Affinity vs Pod Affinity vs Tains & Tolerations
- Autoscaling (HPA)
- The HPA (Horizontal Pod Autoscaler) adds or removes Pod copies based on CPU, memory or custom metrics. It needs Metrics Server and sensible resource requests, and it is the first tool for handling traffic spikes. Kubernetes docs: Horizontal Pod Autoscaling Course: Kubernetes Course – Certified Kubernetes Administrator Exam Preparation (2026 Update) (Workloads & Scheduling) Video: Kubernetes Autoscaling: HPA vs. VPA vs. Keda vs. CA vs. Karpenter vs. Fargate
- Resource quotas
- A ResourceQuota caps the total CPU, memory and number of objects a namespace can use. A LimitRange sets default requests and limits for each container. Together they stop one team from using the whole cluster. Kubernetes docs: Resource quotas Kubernetes docs: Limit ranges Video: Kubernetes resource requests, limits and quotas
- Metrics Server
- Metrics Server collects live CPU and memory use from every node and Pod. It powers kubectl top and the HPA, so autoscaling does not work without it. metrics-server on GitHub Kubernetes docs: Resource metrics pipeline Video: [ Kube 35.2 ] Deploying metrics server in Kubernetes without Helm
- Vertical Pod Autoscaler (optional)
- The VPA (Vertical Pod Autoscaler) watches real usage and suggests or sets better CPU and memory requests for your Pods. It makes Pods bigger or smaller instead of adding more copies like the HPA. Kubernetes docs: Vertical Pod autoscaling VPA on GitHub Video: Kubernetes Vertical Pod Autoscaler (VPA)
Project: Make an app production-ready
Add config through ConfigMaps and Secrets, readiness and liveness probes, requests and limits, and an HPA. Load-test it and watch it scale; then set the memory limit too low and diagnose the OOMKill.
Common mistakes
- Deploying Pods without CPU and memory requests. Without requests, the scheduler cannot place Pods well and nodes get overloaded. Set requests based on real usage and a memory limit to avoid one Pod starving the rest.
- Pointing liveness probes at a database or other dependency. If the dependency is slow, Kubernetes restarts healthy Pods over and over. Liveness should only check the app process; use readiness probes for dependency checks.
- Assuming Kubernetes Secrets are encrypted just because they are Secrets. Secrets are only base64 encoded, which anyone can decode. Restrict access with RBAC, enable encryption at rest, and consider External Secrets Operator with a cloud secrets manager.
You're ready to move on when you can
- Explain readiness vs liveness probes
- Diagnose an OOMKilled container
- Scale on CPU with an HPA
- Keep a Pod off a node with a taint
Step 4: Networking and storage
"The Service isn't reachable" and "the data disappeared" are the two classic Kubernetes problems. Understanding networking and storage is what lets you fix them.
Time: 2–3 weeks. Skip if you can trace a request from Ingress/Gateway to a Pod and run a StatefulSet with persistent storage.
Topics
- Ingress & Gateway API
- Ingress and the newer Gateway API route web traffic from outside the cluster to the right Service, by hostname or URL path. They need a controller to do the work. The popular community ingress-nginx controller was retired in March 2026 (the Ingress API still works with other controllers), so new setups should start with Gateway API. Kubernetes docs: Ingress Gateway API docs Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (K8s Ingress explained) Video: The Differences between Ingress & Gateway API
- DNS in the cluster
- CoreDNS gives every Service a name like my-svc.my-namespace.svc.cluster.local so Pods can find each other without fixed IP addresses. Many "cannot connect" problems turn out to be DNS problems. Kubernetes docs: DNS for Services and Pods Course: Kubernetes Course – Certified Kubernetes Administrator Exam Preparation (2026 Update) (Services & Networking) Video: Day 31/40 - Understanding CoreDNS In Kubernetes
- PersistentVolumes
- A PersistentVolume (PV) is a piece of storage in the cluster, and a PersistentVolumeClaim (PVC) is a Pod asking for storage. They keep data safe when Pods restart or move, which every database needs. Kubernetes docs: Persistent Volumes Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (Persisting Data in K8s with Volumes) Video: Kubernetes Volumes explained | Persistent Volume, Persistent Volume Claim & Storage Class
- StorageClasses
- A StorageClass describes a type of storage, such as fast SSD disks on AWS, and lets the cluster create a new disk automatically when a Pod asks for one. Its settings decide whether data is kept after the claim is deleted. Kubernetes docs: Storage Classes Kubernetes docs: Dynamic provisioning Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (Persisting Data in K8s with Volumes) Video: Day 52 - Storage Classes in Kubernetes | Static vs Dynamic Volume Provisioning
- StatefulSets
- StatefulSets run Pods with fixed names, start them in order and give each one its own disk. Use them for databases, queues and other software where each copy needs a stable identity. Kubernetes docs: StatefulSets Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (Deploying Stateful Apps with StatefulSet) Video: Kubernetes StatefulSet simply explained | Deployment vs StatefulSet
- Service types
- ClusterIP (the default) is reachable only inside the cluster. NodePort opens a port on every node, and LoadBalancer asks the cloud for a real load balancer with a public address. Picking the right type decides who can reach your app. Kubernetes docs: Service types Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (K8s Services explained) Video: Kubernetes Service Types | Nodeport, ClusterIP, LoadBalancer + Manifest YAML
- Volumes
- A volume is a folder a container can read and write. Some, like emptyDir, live only as long as the Pod; others connect to ConfigMaps, Secrets or real disks. Start here before PersistentVolumes. Kubernetes docs: Volumes Kubernetes docs: Ephemeral volumes Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (Persisting Data in K8s with Volumes) Video: How volumes and storage work in Kubernetes
- CNI plugins
- Kubernetes does not build the Pod network itself; a CNI (Container Network Interface) plugin such as Cilium, Calico or the AWS VPC CNI does. The plugin gives each Pod an IP and decides whether NetworkPolicies are enforced. Kubernetes docs: Network plugins Cilium docs: Introduction Course: Kubernetes Course – Certified Kubernetes Administrator Exam Preparation (2026 Update) (Services & Networking) Video: Container Network Interface (CNI) Simplified | Kubernetes Networking | Pod Security Group
- CSI drivers (optional)
- A CSI (Container Storage Interface) driver is the plugin that connects Kubernetes to a storage system, such as AWS EBS or a NAS. StorageClasses point to a CSI driver to create real disks. Kubernetes CSI documentation Video: Luis Pabón: Intro to Container Storage Interface (CSI)
Project: Stateful app behind a Gateway
Run a database as a StatefulSet with a PersistentVolumeClaim and an app in front of it, exposed through the Gateway API with path-based routing. Delete the database Pod and prove the data survives.
Common mistakes
- Starting new projects on ingress-nginx in 2026. The community ingress-nginx controller was retired in March 2026 and no longer gets releases or security fixes. The Ingress API itself still works, but for new setups use Gateway API with a supported implementation such as Envoy Gateway, Istio or your cloud's controller.
- Running a database as a Deployment with shared storage. Deployments give Pods random names and no stable storage per replica. Use a StatefulSet with volumeClaimTemplates, or a managed database service.
- Ignoring the StorageClass reclaim policy on important data. With reclaimPolicy Delete, removing the PersistentVolumeClaim also deletes the disk. Use Retain for important data and take regular volume snapshots.
You're ready to move on when you can
- Debug a Service with no endpoints
- Resolve a Service by DNS from another namespace
- Explain Ingress vs Gateway API
- Keep data when a Pod is rescheduled
Step 5: Packaging and GitOps
Copying YAML between environments doesn't scale. Helm templates it and GitOps makes Git the single source of truth, so the cluster fixes itself when someone changes it by hand.
Time: 2 weeks. Skip if you deploy with Helm or Kustomize and Argo CD/Flux syncs your clusters from Git.
Topics
- Helm charts
- Helm is the package manager for Kubernetes: a chart bundles all the YAML files for an app, with values you change per environment. Most tools you install on a cluster ship as Helm charts. Helm docs: Charts Helm docs: Quickstart Course: Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] (Helm - Package Manager) Video: What is Helm in Kubernetes? Helm and Helm Charts explained | Kubernetes Tutorial 23
- Argo CD
- Argo CD watches a Git repo and keeps the cluster matching what is in it, which is called GitOps. You deploy by merging a commit and roll back by reverting one, instead of running kubectl apply by hand. Argo CD docs: Getting started Argo CD docs: Core concepts Course: ArgoCD Tutorial for Beginners | GitOps CD for Kubernetes Video: What is ArgoCD My short: Manual kubectl vs GitOps
- Environment promotion
- Environment promotion is how a change moves from dev to staging to production, usually by changing an image tag in Git for each environment. Doing it with pull requests gives you review, history and easy rollback. Argo CD docs: Best practices Argo CD docs: ApplicationSet Course: Complete Kubernetes Course - From BEGINNER to PRO (Deploying to Multiple Environments (Kustomize, Helm, and Kluctl)) Video: Kargo Demo: GitOps Promotion Across Environments with Argo CD My short: Deploy Passed, But Production Drifted
- CI/CD integration
- A CI/CD pipeline builds your container image, scans and tests it, pushes it to a registry, then updates the image tag that the cluster deploys. With GitOps, the pipeline only changes Git and Argo CD does the deploy. GitHub Docs: Understanding GitHub Actions Course: Complete Kubernetes Course - From BEGINNER to PRO (Continuous Integration & Continuous Delivery (GitHub Actions + Kluctl GitOps)) Video: Kubernetes CI/CD: Build a Pipeline (ArgoCD + Github Actions)
- Kustomize (alternative)
- Kustomize builds your YAML from a plain base plus small patches per environment, with no template language. It is built into kubectl (kubectl apply -k). An alternative to Helm for your own apps; pick one for your projects, but learn the basics of both because the CKA tests both. Kubernetes docs: Kustomize Kustomize docs Course: Complete Kubernetes Course - From BEGINNER to PRO (Deploying to Multiple Environments (Kustomize, Helm, and Kluctl)) Video: Kustomize: The Best Way to Manage Your Kubernetes Configs
- Flux (alternative)
- Flux is a CNCF GitOps tool that keeps the cluster in sync with Git, much like Argo CD but without a built-in web UI. An alternative to Argo CD; pick one. Flux documentation Flux: Get started Video: Full GitOps Tutorial: Getting started with Flux CD
- Canary & blue-green (optional)
- A canary release sends a small share of users to the new version first and grows it if all looks good. Blue-green runs the old and new versions side by side and switches all traffic at once. Tools like Argo Rollouts automate both. Argo Rollouts documentation Kubernetes docs: Rolling updates Video: Top 5 Most-Used Deployment Strategies
Project: GitOps for dev and prod
Package your app as a Helm chart, then set up Argo CD to sync a dev and a prod namespace from Git with different values. Turn on automated sync with selfHeal: true, then change something with kubectl and watch Argo CD revert it.
Common mistakes
- Running kubectl edit in production instead of changing Git. Manual changes get overwritten by the next deploy or flagged as drift by Argo CD or Flux. Change the manifest in Git and let the pipeline apply it.
- Deploying Helm charts without pinning the chart version. A new chart version can change defaults or break upgrades. Pin it with --version in helm commands or with targetRevision in the Argo CD Application, and read the release notes before bumping.
- Deploying a mutable tag like latest. latest can point to a different image tomorrow, so nobody knows what runs where. Build once, tag with the commit SHA, and promote that exact image from staging to production.
You're ready to move on when you can
- Write a Helm chart with values for two environments
- Explain Helm vs Kustomize
- Roll back a release through Git
- Explain why GitOps helps security and audits
Step 6: Managed Kubernetes on EKS
In production most teams use a managed control plane. EKS adds AWS-specific pieces (IAM for Pods, load balancers, node scaling) that you need to get right.
Time: 2–3 weeks. Skip if you've built EKS with Terraform and given Pods AWS access without node-wide credentials.
Topics
- EKS with Terraform
- EKS (Elastic Kubernetes Service) is AWS running the control plane for you. Building the cluster, network and nodes with Terraform makes it repeatable and reviewable instead of a one-off console build. Give people and roles access with EKS access entries; the old aws-auth ConfigMap is deprecated. Amazon EKS docs: Create a cluster Terraform EKS module Video: How to Create EKS Cluster Using Terraform + IAM Roles for Service Accounts & EKS Cluster Autoscaler
- Managed node groups
- Managed node groups let AWS create, patch and replace the EC2 servers that run your Pods. You still pick the server size and labels, but upgrading nodes becomes one command. Amazon EKS docs: Managed node groups Video: AWS Container Day - Customizing Managed Node Groups
- IRSA / Pod Identity
- IRSA (IAM Roles for Service Accounts) and EKS Pod Identity give each app its own AWS IAM role with short-lived credentials. No more access keys in Pods, and each app gets only the AWS permissions it needs. Amazon EKS docs: Pod Identity Amazon EKS docs: IAM roles for service accounts Video: EKS Pod Identity vs IRSA | Securely Connect Kubernetes Pods to AWS Services My short: Your App Doesn't Need AWS Access Keys
- Cluster autoscaling (Karpenter)
- Karpenter watches for Pods that have no room to run and quickly starts EC2 servers of the right size for them, then removes extra servers when load drops. On EKS it is usually faster and cheaper than the older Cluster Autoscaler. Karpenter docs: Getting started Karpenter docs: NodePools Video: Karpenter for Kubernetes | Karpenter vs Cluster Autoscaler
- AWS Load Balancer Controller
- The AWS Load Balancer Controller creates real AWS load balancers from your Kubernetes objects: an Application Load Balancer for Ingress and a Network Load Balancer for LoadBalancer Services. It sends traffic straight to Pods. Amazon EKS docs: AWS Load Balancer Controller Video: AWS Load Balancer Controller Tutorial (TLS): AWS EKS Kubernetes Tutorial - Part 6
- Cluster upgrades
- Kubernetes releases a new version about three times a year, and managed services stop supporting old ones. Upgrading means checking for removed APIs, upgrading the control plane, then add-ons and nodes, one version at a time. Amazon EKS: Update a cluster Kubernetes: Version skew policy Course: Complete Kubernetes Course - From BEGINNER to PRO (Cluster/Node Upgrades) Video: Kubernetes Upgrade Guide
- AKS (alternative)
- AKS (Azure Kubernetes Service) is Microsoft Azure's managed Kubernetes. Azure runs the control plane for you and it links with Microsoft Entra ID for logins. An alternative to EKS; pick one. Microsoft Learn: What is AKS? Video: Getting Started with Azure Kubernetes Service (AKS)
- GKE (alternative)
- GKE (Google Kubernetes Engine) is Google Cloud's managed Kubernetes, from the company that first built Kubernetes. Its Autopilot mode also manages the nodes for you. An alternative to EKS; pick one. Google Cloud: GKE overview Course: Complete Kubernetes Course - From BEGINNER to PRO (Installation and Set Up (KinD, Civo, GKE)) Video: What is Google Kubernetes Engine (GKE)?
- Cluster Autoscaler (alternative)
- Cluster Autoscaler is the original Kubernetes tool that adds nodes when Pods cannot fit and removes empty ones. It works on every major cloud through node groups. An alternative to Karpenter; pick one. Cluster Autoscaler on GitHub Video: Kubernetes node autoscaling with cluster autoscaler
Project: EKS with Terraform
Provision an EKS cluster with Terraform, install the AWS Load Balancer Controller, give one app access to S3 through EKS Pod Identity, and deploy your GitOps setup to it. Destroy it when you're done to save money.
Common mistakes
- Giving node IAM roles every permission Pods might need. Every Pod on that node then gets those permissions. Use EKS Pod Identity or IRSA so each ServiceAccount gets only its own IAM role.
- Falling behind on EKS cluster version upgrades. Old versions move to paid extended support and then get forced upgrades. Upgrade one minor version at a time, check for deprecated APIs first, and upgrade add-ons and nodes after.
- Running Karpenter and Cluster Autoscaler on the same nodes. Both try to add and remove nodes and fight each other. Pick one autoscaler, and for Karpenter set NodePool limits so a mistake cannot launch unlimited nodes.
You're ready to move on when you can
- Give a Pod access to S3 without node credentials
- Expose an app with an AWS load balancer
- Scale nodes automatically
- Estimate what your cluster costs per month
Step 7: Observability
Clusters fail in creative ways. Metrics, logs and events turn "it's broken" into a specific cause you can fix.
Time: 2 weeks. Skip if you run kube-prometheus-stack and have debugged a real incident from its dashboards.
Topics
- kube-prometheus-stack
- kube-prometheus-stack is one Helm chart that installs Prometheus (metrics), Alertmanager (alerts), Grafana and exporters with good default rules. It is the quickest way to see real cluster metrics and get alerts. Prometheus docs: Overview kube-prometheus-stack chart Video: Setup Prometheus Monitoring on Kubernetes using Helm and Prometheus Operator | Part 1
- Grafana dashboards
- Grafana turns metrics into graphs and dashboards for nodes, Pods and your own app. A good dashboard shows errors, slowness and full resources at a glance, so you know where to look first. Grafana docs: Dashboards Video: How to Monitor Kubernetes With Grafana OSS or Grafana Cloud | Ask the Experts | Grafana Labs
- Logging
- Container logs disappear when a Pod is deleted, so clusters run a small agent like Fluent Bit on every node to send logs to a central store such as Loki, OpenSearch or CloudWatch. That is where you search during an incident. Kubernetes docs: Logging architecture Grafana Loki docs Video: Fluent Bit explained | Fluent Bit vs Fluentd
- Events & troubleshooting
- Kubernetes events record problems like "no node has enough memory", image pull errors and crashed containers. kubectl describe and kubectl get events are usually the fastest way to learn why a Pod is stuck in Pending or CrashLoopBackOff. Kubernetes docs: Debug Pods Kubernetes docs: Debug running Pods Course: Complete Kubernetes Course - From BEGINNER to PRO (Debugging Applications in Kubernetes) Video: How to debug Kubernetes? (Deployments, Services & Ingress) My short: App Down? Check These 3 Things First
- Loki (optional)
- Loki is Grafana's log store. It indexes only labels like app and namespace, not the full text, so it is cheap to run, and you search logs inside the same Grafana as your metrics. Grafana Loki documentation Loki overview Video: Getting started with Grafana Loki - under 4 minutes
- OpenTelemetry (optional)
- OpenTelemetry (OTel) is an open standard and set of tools for collecting traces, metrics and logs from your apps. A trace follows one request across many services, which shows where it got slow or failed. What is OpenTelemetry? OpenTelemetry with Kubernetes Video: OpenTelemetry: Simplifying Hybrid Cloud Monitoring
Project: Break it and find out why
Install kube-prometheus-stack and a log stack. Then break your app three ways (bad image, failing probe, exhausted memory) and diagnose each using only dashboards, logs and events. Write a short runbook for each.
Common mistakes
- Only checking logs and ignoring Kubernetes events. Scheduling failures, image pull errors and OOM kills show up as events, not app logs. Run kubectl describe pod and kubectl get events --sort-by=.lastTimestamp first.
- Adding labels with unlimited values to every metric. Labels like user ID or request ID create huge numbers of time series and can crash Prometheus. Keep metric labels to small, fixed sets of values.
- Setting alerts on every metric without clear actions. Too many alerts train people to ignore them. Alert on symptoms users feel, like error rate and latency, and link each alert to a short runbook.
You're ready to move on when you can
- Find the cause of a CrashLoopBackOff from events and logs
- Build a dashboard per namespace
- Alert when Pods restart repeatedly
- Troubleshoot a node in NotReady state
Step 8: Cluster security
A default cluster trusts everything inside it. Least privilege for people and workloads, plus runtime detection, limits the damage from one compromised Pod.
Time: 2–3 weeks. Skip if you've enforced Pod Security Standards, RBAC and network policies, and run Falco.
Topics
- RBAC
- RBAC (Role-Based Access Control) decides who can do what in the cluster, using Roles, ClusterRoles and bindings. Tight RBAC limits the damage if a token or a laptop is stolen. Kubernetes docs: Using RBAC authorization Kubernetes docs: RBAC good practices Course: Kubernetes Course – Certified Kubernetes Administrator Exam Preparation (2026 Update) (Cluster Architecture, Installation & Configuration) Video: Kubernetes RBAC Explained My short: Why I Don't Give Developers Admin Access
- Pod Security Standards
- Pod Security Standards are three ready-made safety levels (privileged, baseline, restricted) that you switch on per namespace with a label. They block risky settings such as running as root or mounting the host disk. The built-in Pod Security Admission controller enforces them; it replaced PodSecurityPolicy, which was removed in Kubernetes 1.25. Kubernetes docs: Pod Security Standards Kubernetes docs: Pod Security Admission Video: Kubernetes Security - Pod Security Standards | How to use them to enforce security contexts
- Network policies
- By default every Pod can talk to every other Pod. NetworkPolicies are firewall rules that allow only the traffic you expect, which stops an attacker moving around, but your network plugin (CNI) must support them. Kubernetes docs: Network Policies Video: Kubernetes Network Policies Explained
- ServiceAccounts
- A ServiceAccount is the identity a Pod uses when it talks to the Kubernetes API. Give each app its own ServiceAccount with only the RBAC permissions it needs, and turn off the token for apps that never call the API. Kubernetes docs: Service accounts Kubernetes docs: Configure service accounts for Pods Video: What are Kubernetes Service Accounts?
- Secrets encryption
- On a self-built cluster, Secrets are stored in etcd only base64 encoded, which anyone with etcd access can decode. Encryption at rest with a key service like AWS KMS (Key Management Service) keeps them safe if etcd or a backup leaks. EKS now turns this on by default, but on kind or kubeadm you must set it up yourself. Kubernetes docs: Encrypting data at rest Amazon EKS: Envelope encryption Video: Encrypting Secrets in Kubernetes Clusters using KMS
- Image policies (optional)
- Image policies decide which container images may run, for example only from your own registry, only signed images, or never the "latest" tag. Admission tools like Kyverno check these rules every time something is deployed. Kubernetes docs: Validating Admission Policy Kubernetes docs: Images Video: Signing and Verifying Container Images With Sigstore Cosign and Kyverno
- Falco (optional)
- Falco is a CNCF runtime security tool that watches what containers actually do and alerts on suspicious actions, like a shell opening inside a container. It catches what scanners miss after a Pod has started. Falco docs Falco docs: Rules Video: Falco for Kubernetes runtime security (eBPF, Rules, Tuning & Alerts)
- Kyverno (optional)
- Kyverno is a policy engine where you write rules in plain YAML, such as "every Pod needs resource limits" or "no images from unknown registries". It can block, fix or report objects as they are created. OPA Gatekeeper does the same job using the Rego language. Kyverno: Introduction OPA Gatekeeper docs Video: Kyverno for Beginners: Secure Your Kubernetes Clusters Like a Pro (Free Labs!)
Project: Lock down your cluster
Work through Kubernetes Goat, then harden your own cluster: restricted Pod Security Standard, default-deny network policies, per-team RBAC, and Falco alerts. Go deeper with the DevSecOps roadmap.
Common mistakes
- Granting cluster-admin to apps and CI pipelines. A leaked token then controls the whole cluster. Write Roles with only the verbs and resources needed, bound to a dedicated ServiceAccount in one namespace.
- Leaving all Pod-to-Pod traffic open inside the cluster. By default any Pod can reach any other Pod. Add a default-deny NetworkPolicy per namespace and allow only the traffic you need; check your CNI enforces policies.
- Mounting ServiceAccount tokens into Pods that never call the API. An attacker in the Pod can use that token to talk to the API server. Set automountServiceAccountToken: false unless the app needs it, and enforce restricted Pod Security Standards.
You're ready to move on when you can
- Give a user read-only access to one namespace
- Block Pods that run as root
- Isolate a namespace with network policies
- Detect a shell opened inside a container
Step 9: Extending and operating Kubernetes
Many popular tools, from Argo CD to cert-manager, add their own object types to Kubernetes and run controllers that manage them. Knowing how that works, plus how clusters are built and connected, helps you run Kubernetes beyond a single managed cluster.
Time: 2–3 weeks. Skip if you can explain what a CRD and an operator are, build a cluster with kubeadm, and say when a service mesh is worth it.
Topics
- CRDs
- A CRD (CustomResourceDefinition) adds a new object type to Kubernetes, such as Certificate or Application. Tools like Argo CD, Karpenter and cert-manager all use CRDs, so you will meet them everywhere. Kubernetes docs: Custom resources Kubernetes docs: Extend the API with CRDs Course: Complete Kubernetes Course - From BEGINNER to PRO (Extending the Kubernetes API) Video: What The Heck Are Kubernetes Resources, CRs, CRDs, Operators, etc.?
- Operators
- An operator is a program running in the cluster that manages a complex app for you, using CRDs and a control loop. For example, a database operator can create replicas, take backups and handle failover on its own. Kubernetes docs: Operator pattern OperatorHub.io Course: Complete Kubernetes Course - From BEGINNER to PRO (Extending the Kubernetes API) Video: Kubernetes Operator simply explained in 10 mins
- kubeadm
- kubeadm is the official tool to build a cluster yourself on your own servers or VMs. You will not use it with EKS, but the CKA exam asks you to install and upgrade a cluster with it. Doing it once also shows you how the control plane, certificates and nodes fit together. Kubernetes docs: Creating a cluster with kubeadm kubeadm reference Course: Kubernetes Course – Certified Kubernetes Administrator Exam Preparation (2026 Update) (Cluster Architecture, Installation & Configuration) Video: Setup Kubernetes Cluster Using Kubeadm [Multi-node]
- Istio (optional)
- Istio is a service mesh: a layer that handles traffic between your services, adding encryption (mTLS), retries, traffic splitting and detailed metrics without changing app code. It is powerful but adds a lot to run and learn. Istio: What is Istio? Video: Istio & Service Mesh - simply explained in 15 mins
- Linkerd (optional)
- Linkerd is a lighter, simpler service mesh that gives you mTLS between services and live traffic stats with very little setup. A good first mesh to try if you need one; Istio is the bigger alternative. Linkerd overview Linkerd getting started Video: What is the Linkerd service mesh?
- Multi-cluster management (optional)
- Bigger teams run many clusters, for example one per region or environment. Tools like Argo CD, Flux and KubeFleet deploy the same apps to many clusters from one place, so they stay consistent. KubeFleet documentation Video: KubeFleet: Multi-Cluster Kubernetes Application Management
- Kubernetes docs: Extending Kubernetes
- Kubernetes docs: Operator pattern
- Operator SDK
- Creating a cluster with kubeadm
Project: A cluster built by hand
Create two or three local VMs with Multipass or Vagrant (kubeadm needs at least 2 CPUs and 2 GB of RAM per machine) and build a cluster with kubeadm, then install Cilium as the CNI. Write a small CustomResourceDefinition (for example a "Website" type with a url field), create a few objects of that type, and install Linkerd to see live traffic stats between two demo apps.
Common mistakes
- Deleting a CRD without realising it deletes all its resources. Removing a CustomResourceDefinition removes every custom resource of that type in the cluster. Back up resources and check what depends on them before uninstalling an operator.
- Adding a service mesh before having a clear need. Istio or Linkerd add sidecars or proxies, more memory use and new ways to fail. Add one when you need mutual TLS, traffic splitting or detailed service metrics, and start with one namespace.
- Building self-managed kubeadm clusters for production without backup plans. With kubeadm you own etcd backups, certificate renewal and upgrades. Schedule etcd snapshots, test restores, and watch certificate expiry, or use a managed service.
You're ready to move on when you can
- Explain what a CRD adds to the Kubernetes API
- Describe what an operator does that a Helm chart alone cannot
- Bootstrap a small cluster with kubeadm and join a worker node
- Explain what a service mesh adds (mTLS, retries, traffic stats) and when it is not worth the cost
Capstone project: The Kubernetes Resume Challenge
Deploy a real app to EKS built with Terraform: Helm chart, autoscaling, rolling updates, config and secrets, GitOps with Argo CD, Prometheus dashboards, and a locked-down security baseline. Document it with an architecture diagram and a runbook.
Certifications
- Kubernetes and Cloud Native Associate (KCNA): Optional multiple-choice intro. Skip it if you're going for the CKA.
- Certified Kubernetes Administrator (CKA): The main one. Hands-on; the 2025 syllabus added Helm, Kustomize and Gateway API. Take it after step 9, because the exam includes kubeadm installs and upgrades.
- Certified Kubernetes Application Developer (CKAD): If you're developer-focused. Overlaps heavily with the CKA.
- Certified Kubernetes Security Specialist (CKS): After step 8. Requires an active CKA.
Frequently asked questions
How long does it take to learn Kubernetes?
About 4–6 months at 8 hours a week to be comfortable running real workloads, if you already know Docker and Linux. From zero, do the DevOps roadmap's first steps first and add 2–3 months.
Should I learn Docker before Kubernetes?
Yes. Kubernetes runs containers, so you need to understand images, registries and container networking first. Most Kubernetes confusion is really Docker confusion.
CKA, CKAD or CKS: which should I take first?
CKA for most people: it covers how clusters work and is what infrastructure jobs ask for. CKAD if you're a developer who only deploys to clusters. CKS comes last and requires an active CKA.
Can I learn Kubernetes for free?
Yes. kind or minikube run clusters on your laptop, Killercoda has free browser labs, and the official docs are excellent. Only EKS (step 6) costs money, so destroy clusters when you're done.
Do I need Kubernetes for a DevOps job?
For most mid-size and large companies, yes; it's in a large share of DevOps job ads. Small companies often use simpler options like ECS, but Kubernetes skills transfer to those.
Is Kubernetes the Hard Way worth doing?
Once, after step 4. Building a cluster by hand shows you what every component does, which makes the CKA troubleshooting questions much easier. It isn't how you'd run production.