Skip to content
Beta

Hands-on simulator

Practise Linux and Kubernetes commands in a simulation right in your browser. Every lab has tasks, hints and an automatic check.

Kubernetes · endless Chaos mode: incident after incident One random fault after another – ImagePullBackOff, OOMKilled, Pending, a service without endpoints … With a streak, time per incident and a seed to share.

Standalone labs

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

CKAD hands-on

Debugging Kubernetes hands-on

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Change files. There is no editor. You change files with sed -i or rewrite them with echo and >.
  6. Check the task. The button checks the end state, not your sequence of commands. Every correct path counts.
  7. 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.
  8. 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.

More