Kubernetes
Pods, controllers and scheduling, taken apart.
How Kubernetes really works: desired state and control loops, the control plane and nodes, pods and Deployments, health checks, Services and Gateway API, network policies, configuration and storage, requests and limits, the scheduler, autoscaling, upgrades, access control, pod security, Helm and GitOps, debugging and operators. Vendor-neutral: upstream Kubernetes alongside EKS, GKE, AKS and OpenShift. By the end you can read a cluster, design a deployment and predict how it behaves when things go wrong.
- 7
- chapters
- 23
- modules
- ~9h
- of learning
- 23
- live now
Take modules in any order. The route suggests one that builds up naturally.
has a live module in progress complete
Take a look inside
The big picture, before the details
A small production cluster, from the YAML in Git to traffic reaching a pod. Watch the tour, or click any part.
Desired state in Git: you describe what should run; a GitOps agent or kubectl apply sends it to the cluster (modules 2, 19).
A taste of module 2: delete pods or cut a node's power, and watch the cluster put everything back.
Deployment applied: replicas 5
The big picture
Why Kubernetes exists, and the one idea it is built on.
3 modules · 65 min
Beginner
Why Kubernetes
From copying files to twenty servers by hand to declaring what you want.
Beginner
Desired state and the control loop
Say what you want; controllers keep making it true.
Core
The cluster, taken apart
The control plane, the nodes, and what happens on kubectl apply.
Running workloads
Pods, Deployments, health checks and the other controllers.
4 modules · 85 min
Core
Pods
The smallest thing Kubernetes runs: one or more containers sharing a home.
Core
Deployments and rolling updates
Releasing a new version without downtime, and rolling back a bad one.
Core
Health checks
Telling Kubernetes when an app is alive, ready, or still starting.
Core
StatefulSets, DaemonSets, Jobs and CronJobs
Picking the right controller for each kind of workload.
Networking
Finding pods that keep moving, letting traffic in, and keeping it out.
3 modules · 65 min
Core
Services and DNS
A stable address in front of pods that keep changing.
Core
Ingress and Gateway API
Routing outside traffic to the right service.
Applied
Network policies
Every pod can reach every other pod, until you say otherwise.
Configuration and storage
Settings, secrets and data that outlive a pod.
2 modules · 45 min
Scheduling and scaling
Where pods run, how big they are, and how many.
4 modules · 95 min
Core
Requests, limits and QoS
How big each pod is, and what happens when it wants more.
Deep dive
The scheduler
How Kubernetes picks a node for every pod.
Applied
Autoscaling
More pods when busy, more nodes when full, fewer of both when quiet.
Applied
Disruptions and upgrades
Taking nodes away safely, and keeping the cluster current.
Security and operations
Access, policy, delivery and debugging.
4 modules · 95 min
Applied
Access control and service accounts
Who can do what in the cluster, people and pods alike.
Applied
Pod security and admission
Stopping risky pods before they start.
Applied
Packaging and GitOps
From a Git commit to a running cluster, without kubectl by hand.
Applied
Debugging a cluster
Reading the clues when pods won't start or keep dying.
In practice
Extending Kubernetes, choosing a managed service, and a capstone.
3 modules · 85 min
Deep dive
Extending Kubernetes
Custom resources and operators: teaching the cluster new tricks.
Applied
Managed Kubernetes and cost
EKS, GKE, AKS and OpenShift, and what a cluster really costs.
Applied
Capstone: a payments API on Kubernetes
Design the cluster, then survive a bad day.