Hands-on simulator
Practise Linux and Kubernetes commands in a simulation right in your browser. Every lab has tasks, hints and an automatic check.
Standalone labs
- Kubernetes · 15 min Broken pod: find and fix ImagePullBackOff The web deployment won't start. Use kubectl to find out why, fix the manifest and roll it out again.
- Kubernetes · 20 min OOMKilled: set the memory limit right The API in namespace shop keeps restarting. Find out why the kernel kills it and adjust the limit.
- Linux · 10 min Linux basics: files, paths and hosts Create directories and files, search logs and work on a second host.
Labs for the courses
Each lab practises exactly one course day – with the names and commands from the course. On that day's page you'll find the “Practice in the simulator” box.
Kubernetes hands-on
CKA hands-on
- Day 4: Workloads at Exam Speed · 15 min Day 4: A broken rollout and the way back Someone set shop to nginx:9.99 – that image doesn't exist. Read the history, roll back to the last good revision, record the reason and scale.
- Day 5: Scheduling · 20 min Day 5: Scheduling – nodeSelector, taints and tolerations Three pods are Pending: big fits nowhere, fast looks for an SSD node, and tolerant wants worker-01, which carries a maintenance taint.
CKAD hands-on
Debugging Kubernetes hands-on
- Day 3: Pods Stuck in Pending · 20 min Day 3: Pods stay Pending Two Deployments in namespace tag03 get no node: one asks for too much CPU, the other wants the batch pool but can't get past its taint.
- Day 4: Images and Container Start · 20 min Day 4: Images and container start In namespace tag04, tippfehler is stuck at ErrImagePull and konfig doesn't even start: CreateContainerConfigError. Find both causes and fix them.
- Day 5: Crashes and Restarts · 20 min Day 5: Crashes and restarts In namespace tag05, tippfehler crashes right away and speicher keeps getting killed by the kernel. Read exit codes and Last State and fix both.
- Day 7: Services and Endpoints · 20 min Day 7: Services and endpoints In namespace tag07 the service backend has no endpoints and the service web points to the wrong port. Follow the path service → EndpointSlice → pod and fix both.
- Day 14: Nodes · 20 min Day 14: The drain hangs worker-01 needs maintenance, but `kubectl drain` gets stuck: the api's PodDisruptionBudget allows not a single disruption.
Kubernetes day 2 hands-on
Prefer practising locally in your own terminal? KubeDrill simulates a Kubernetes cluster on your machine – you work with the real kubectl.
Simulation, not emulation: commands change a simulated state (files, hosts, cluster). Unsupported commands and options say so explicitly.
How the simulator works
- Pick a lab. Every lab starts from a prepared state: files on the hosts, a cluster with nodes and pods, sometimes a built-in fault.
- Read the task. On the left you find the goal, the learning objective and the individual tasks. Hints open one at a time when you get stuck.
- Work in the terminal. On the right you type commands as on a real server. help lists all supported commands, Tab completes commands and paths, ↑ and ↓ bring back earlier commands.
- Look behind the scenes. Below the terminal, “Behind the scenes” shows what a command triggered in the cluster: API server, controllers, the scheduler with its reasons per node, and the kubelet – exactly what the simulation did.
- Change files. There is no editor. You change files with sed -i or rewrite them with echo and >.
- Check the task. The button checks the end state, not your sequence of commands. Every correct path counts.
- Chaos mode. Chaos mode has no fixed task: the simulator injects a fault, you fix it, “Check task” confirms it, then the next one follows. “Skip” ends the streak, the seed makes the order shareable.
- Start over. “Reset” restores the starting state. Otherwise your progress stays saved in this browser, even after a reload.
To get started
help
kubectl get pods
kubectl describe pod <name>
kubectl get events
sed -i 's/alt/neu/' datei.yaml
kubectl apply -f datei.yaml
ssh worker-01
exit
What the simulator can't do
- No real machine: nothing runs on a server, there is no network and no internet.
- Simplified shell: pipes, redirects, variables and globs work; loops, if, heredocs and $( ) don't.
- Simplified Kubernetes: no probes, volumes, StatefulSets, Ingress or RBAC; rollouts happen in one step.
- Anything unsupported says so explicitly. No command pretends to have worked.
For a real Linux VM in your browser, try Linux in your browser.