Course · 05
Kubernetes Foundations
You build one app, Monster Market, from a single Pod to a stateful, scheduled, locked-down service behind an Ingress. Then you break it and fix it, chapter by chapter, until the last chapter hands you the whole thing broken.
- 14
- chapters
- 217
- lessons & labs
- CKA / CKAD
- exam-aligned
- Beginner
- no experience needed
The map
14 chapters covering workloads, networking, storage, security and troubleshooting.
Chapter 1 is free. Finish each chapter to unlock the next one.
01
Containers and Pods
Run a container on a cluster, read what it tells you
8 lessons · 10 labsFree- 1Run Your First PodLab3 min
- 2What Is a Container4 min
- 3Pull the Right TagLab4 min
- 4What Is a Pod4 min
- 5Two Pods, Two AddressesLab4 min
- 6Pod Status5 min
- 7Read the Status ColumnLab4 min
- 8Describe a Pod5 min
- 9Find the TypoLab4 min
- 10Read the Logs4 min
- 11The Crashing PodLab5 min
- 12Namespaces4 min
- 13Find the Missing PodsLab5 min
- 14Labels and Selectors5 min
- 15Label and FindLab5 min
- 16Pods Don't Come Back4 min
- 17Delete Two PodsLab5 min
- 18Challenge: Fix the Market PodsLab12 min
02
Kubernetes Architecture
The control plane, the nodes, and the YAML that describes everything
10 lessons · 11 labs- 1The Control Plane5 min
- 2Meet the Control PlaneLab4 min
- 3Nodes and the Kubelet5 min
- 4Read the NodeLab4 min
- 5kubectl Shortcuts4 min
- 6Type LessLab4 min
- 7Every Object Has a Shape5 min
- 8Read the YAMLLab5 min
- 9kubectl explain4 min
- 10Ask the APILab4 min
- 11Write a Manifest5 min
- 12Your First ManifestLab6 min
- 13Generate a Manifest4 min
- 14Generate, Edit, ApplyLab5 min
- 15Apply Again4 min
- 16Find the DriftLab5 min
- 17Read an apply Error5 min
- 18Fix the YAMLLab6 min
- 19kubeconfig and Contexts4 min
- 20Set Your ContextLab5 min
- 21Challenge: Repair the ManifestsLab15 min
03
Deployments and Workloads
ReplicaSets, Deployments, rollouts, rollbacks, Jobs and CronJobs
9 lessons · 10 labs- 1ReplicaSets5 min
- 2Keep Three RunningLab6 min
- 3Deployments5 min
- 4Deploy the MarketLab5 min
- 5Scaling4 min
- 6Scale the MarketLab4 min
- 7Rolling Updates5 min
- 8Roll Out a New VersionLab5 min
- 9Rollbacks4 min
- 10Roll Out a Bad ImageLab5 min
- 11Update Strategies5 min
- 12Recreate vs RollingLab7 min
- 13Pause and Resume4 min
- 14The Stuck RolloutLab5 min
- 15Jobs5 min
- 16Run to CompletionLab8 min
- 17CronJobs4 min
- 18On a ScheduleLab4 min
- 19Challenge: Fix the WorkloadsLab15 min
04
Services and DNS
Stable names and addresses in front of Pods that come and go
8 lessons · 9 labs- 1Pods Have No Fixed Address4 min
- 2Watch the Address ChangeLab5 min
- 3ClusterIP Services4 min
- 4Expose the MarketLab5 min
- 5Endpoints4 min
- 6The Wrong SelectorLab6 min
- 7Ports and targetPorts4 min
- 8The Wrong PortLab6 min
- 9NodePort Services4 min
- 10Open a NodePortLab5 min
- 11LoadBalancer and ExternalName4 min
- 12Ask for a Load BalancerLab5 min
- 13DNS Names5 min
- 14Resolve ItLab5 min
- 15Headless Services4 min
- 16See Every PodLab5 min
- 17Challenge: Reconnect the ServicesLab20 min
05
Configuration
Environment, commands, ConfigMaps and Secrets, the same image everywhere
7 lessons · 8 labs- 1Environment Variables4 min
- 2Set the VariableLab5 min
- 3Commands and Arguments5 min
- 4Say It DifferentlyLab5 min
- 5ConfigMaps4 min
- 6Write the Settings DownLab4 min
- 7ConfigMaps in Pods5 min
- 8Mount the ConfigLab6 min
- 9Secrets4 min
- 10Decode ItLab4 min
- 11Secrets in Pods4 min
- 12Rotate a SecretLab6 min
- 13The Downward API4 min
- 14Know ThyselfLab4 min
- 15Challenge: Configure the MarketLab15 min
06
Health Checks and Resources
Probes that restart or isolate, requests the scheduler reserves, limits the kernel enforces, and the autoscaler that reads them
9 lessons · 10 labs- 1Liveness Probes4 min
- 2The Restart LoopLab5 min
- 3Readiness Probes4 min
- 4Running but Not ReadyLab5 min
- 5Startup Probes4 min
- 6Give It TimeLab5 min
- 7Resource Requests4 min
- 8It Does Not FitLab5 min
- 9Resource Limits4 min
- 10The Hungry PodLab5 min
- 11QoS Classes4 min
- 12Who Goes FirstLab4 min
- 13LimitRanges4 min
- 14Sensible DefaultsLab5 min
- 15Resource Quotas4 min
- 16Over BudgetLab5 min
- 17Horizontal Pod Autoscaler5 min
- 18Let It ScaleLab6 min
- 19Challenge: Stabilise the MarketLab20 min
07
Multi-container Pods
Containers that share a Pod, init containers and sidecars
5 lessons · 6 labs- 1Why Several Containers4 min
- 2Two in OneLab5 min
- 3Shared Volumes with emptyDir4 min
- 4Pass the FileLab6 min
- 5Init Containers5 min
- 6Wait for the DatabaseLab5 min
- 7Sidecar Containers4 min
- 8Ship the LogsLab5 min
- 9Logs and exec per Container4 min
- 10Which Container Is ItLab5 min
- 11Challenge: Fix the Pod PairsLab15 min
08
Storage
Volumes, claims, classes and the Pods that keep their data
7 lessons · 8 labs- 1Volumes4 min
- 2Data That SurvivesLab6 min
- 3PersistentVolumeClaims4 min
- 4Claim a volumeLab8 min
- 5StorageClasses4 min
- 6A Class of Your OwnLab5 min
- 7PersistentVolumes5 min
- 8Bind by handLab10 min
- 9Access Modes and Reclaim Policies4 min
- 10Released, not deletedLab12 min
- 11StatefulSets5 min
- 12Run a stateful databaseLab12 min
- 13StatefulSet Updates4 min
- 14Hold Back the UpdateLab6 min
- 15Challenge: Recover the DataLab25 min
09
Scheduling
Where a Pod lands and why: selectors, affinity, taints, cordon and drain, DaemonSets and priority
8 lessons · 9 labs- 1How Scheduling Works4 min
- 2Three NodesLab4 min
- 3nodeSelector4 min
- 4Pick a DiskLab5 min
- 5Node Affinity5 min
- 6One of These ZonesLab5 min
- 7Taints and Tolerations5 min
- 8The Reserved NodeLab5 min
- 9Cordon and Drain4 min
- 10Empty the NodeLab5 min
- 11DaemonSets4 min
- 12An Agent on Every NodeLab5 min
- 13Pod Affinity and Anti-affinity5 min
- 14NeighboursLab5 min
- 15Priority and Preemption4 min
- 16Make RoomLab5 min
- 17Challenge: Schedule the MarketLab20 min
10
Access Control
Who you are, what you may do: ServiceAccounts, Roles, bindings, least privilege and security contexts
6 lessons · 7 labs- 1Authentication and Authorization4 min
- 2Who Am ILab4 min
- 3ServiceAccounts4 min
- 4Give the Pod a NameLab5 min
- 5Roles and RoleBindings5 min
- 6Let Dev ReadLab5 min
- 7ClusterRoles5 min
- 8Read Everywhere, Edit HereLab5 min
- 9Least Privilege5 min
- 10Only What It NeedsLab5 min
- 11Security Contexts5 min
- 12Drop RootLab5 min
- 13Challenge: Restore AccessLab20 min
11
Network Policies and Ingress
Who may talk to whom inside the cluster, and how traffic gets in from outside: NetworkPolicy, Ingress and the Gateway API
7 lessons · 8 labs- 1The Pod Network4 min
- 2Everyone Reaches EveryoneLab4 min
- 3Default Deny4 min
- 4Close the NamespaceLab4 min
- 5Allow Ingress From5 min
- 6Open the Right DoorsLab6 min
- 7Egress Rules4 min
- 8Let It OutLab5 min
- 9Ingress Resources5 min
- 10One Address, Two NamesLab5 min
- 11Path-based Routing4 min
- 12Split by PathLab5 min
- 13The Gateway API5 min
- 14Route Through a GatewayLab5 min
- 15Challenge: Open the Right DoorsLab20 min
12
Observability
Events, logs, metrics, JSONPath, custom columns and conditions: the questions kubectl can answer about any cluster
6 lessons · 7 labs- 1Events4 min
- 2Read the TimelineLab4 min
- 3Log Options4 min
- 4The Crash Before This OneLab4 min
- 5Resource Usage with top4 min
- 6Who Is Eating the NodeLab4 min
- 7JSONPath5 min
- 8Pull the FieldLab5 min
- 9Custom Columns and Sorting4 min
- 10Build the TableLab5 min
- 11Conditions4 min
- 12Read the ReasonLab5 min
- 13Challenge: Write the ReportLab20 min
13
Troubleshooting
A method for broken things, then every common failure in turn: Pending, crashing, image, Service, config, permission and controller problems
7 lessons · 8 labs- 1A Method for Broken Things5 min
- 2Triage Three TicketsLab6 min
- 3Pods Stuck in Pending5 min
- 4Three Pods, Three ReasonsLab8 min
- 5Pods That Crash5 min
- 6Three Restart LoopsLab8 min
- 7Image Problems4 min
- 8Two Pulls That FailLab6 min
- 9Services That Don't Answer5 min
- 10Follow the ChecklistLab8 min
- 11Config and Permission Errors5 min
- 12Nothing Mounts, Nothing AllowedLab8 min
- 13Controllers That Won't Progress5 min
- 14Nothing Is HappeningLab8 min
- 15Challenge: The On-call ShiftLab25 min
14
Final Challenge
The Monster Market, moved to a new cluster and broken everywhere: survey it, bring the data back, repair the workloads, reconnect and secure it, then ship it
4 lessons · 5 labs
