Scenarios

Break it. Then fix it.

Every scenario breaks a real system on purpose. You see the symptoms, guess the cause, pick the commands, meet the fix most people try first, and then find the real one. Every output you see was captured on a real system.

Items marked β–Ά Open to all need no account. Sign up free to unlock the rest and keep your progress.

Git

Section 1: Scenarios 1 to 5

A commit on main, a rejected push, a detached HEAD, a merge conflict and a committed secret.

Section 2: Scenarios 6 to 10

Work lost to reset --hard, a pull blocked by local changes, finding a bad commit with bisect, and two exercises, a release tag on the wrong commit and a force push that erased a commit.

Docker

Section 1: Scenarios 1 to 5

A container that vanishes, a port clash, votes that cannot reach Redis, a wrong password and an image tag typo.

Section 2: Scenarios 6 to 10

A container killed for memory, a notebook that cannot save, a working app marked unhealthy, names that do not resolve and a failing build.

Section 3: Scenarios 11 to 15

An app listening on localhost only, data lost on restart, a website that disappears, a leaked API key and the Compose start order.

Kubernetes

Section 1: Architecture and Pod lifecycle

How a Pod comes to life, and which component notices when it does not: scheduler, API server, kubelet, container runtime.

Section 2: Workloads

Deployments and ReplicaSets, StatefulSets, DaemonSets, Jobs and CronJobs: the right controller for the right job.

Section 3: Services, ingress and networking

How traffic finds Pods: Services, DNS, ingress routing and Network Policies.

Section 4: Configuration, storage and security

ConfigMaps and Secrets, persistent storage, RBAC and Pod security.

Section 5: Scaling, self-healing and releases

Probes and self-healing, autoscaling, rolling updates and deployment strategies.

Section 6: Namespaces, quotas, Helm and troubleshooting

Namespaces and resource quotas, Helm releases, labels and annotations, and the habit of finding what really ran.