Lion Cipher Lab

Install kubectl and kind, and bring up a local Kubernetes cluster you can break

Why it matters

Kubernetes is where most modern production software runs, and it is where a large share of cloud security work happens: RBAC, admission control, pod hardening, secrets, network policy, runtime detection. Twenty-two labs on this site practise exactly those things — and every one of them opens with "you'll need a local cluster and kubectl". This lab removes that assumption. It gives you a real Kubernetes cluster that lives entirely inside Docker on your own machine, costs nothing, and can be deleted and rebuilt in a minute — which means you can break it on purpose, the only honest way to learn…

What you'll learn

Steps in this lab

  1. What Kubernetes, a cluster, a node, a pod and kubectl are — in one paragraph
  2. Why kind: a real cluster inside Docker, disposable by design
  3. Check you're ready: Docker must be running
  4. Install kubectl on Windows (winget, or curl + checksum)
  5. Install kubectl on macOS (Homebrew, or curl + checksum)
  6. Install kubectl on Linux (curl + checksum + install) — and why the checksum
  7. Install kind (no Go required) and check both tools
  8. Create the cluster — and understand what just happened
  9. kubeconfig and contexts: the "which cluster am I talking to?" habit
  10. Run one pod and one Deployment; get, describe, logs; delete
  11. The memory reality: Docker Desktop limits and .wslconfig
  12. Security honesty: this cluster is not hardened, and you are its admin
  13. Troubleshooting: the four errors you will actually see
  14. Clean up: delete the cluster (and know it is gone)
  15. Prove it: the round trip every later lab assumes, in six commands
  16. What you just did — and why it matters

Open the full interactive lab →