Skip to content
Loopedin Labs

Kubernetes path

Learn Kubernetes from zero.

No setup, no experience needed. Start with a 3-minute fix, finish with the incidents seniors get paged for.

Start level 1

0/23 solved

01Basics

Find, read, scale and roll back. 0/6

  1. 1

    Up next

    Where's my app?

    Checkout is down and kubectl get pods shows nothing. Find where the app actually runs and what state it's in.

    Easy~3 min
  2. 2

    Why does it keep crashing?

    The cart pods restart every few seconds. Read the logs of the crash, find the bad setting and fix it.

    Easy~4 min
  3. 3

    Sale traffic, 2 pods melting

    The 8pm sale just started and the API's 2 pods are pegged. Add capacity in one command.

    Easy~3 min
  4. 4

    Bad release, roll it back

    Checkout errors started right after the 19:10 release. Restore service first, debug later.

    Easy~4 min
  5. 5

    ImagePullBackOff

    The new release never starts: pods sit in ImagePullBackOff. Find out why and ship the right image.

    Easy~5 min
  6. 6

    Pod in CrashLoopBackOff

    The API pod restarts every 30 seconds. The current logs are empty. Find the crash reason and fix the config.

    Medium~8 min

02Config & networking

DNS, Secrets, Services, Ingress and NetworkPolicy. 0/5

  1. 7

    Postgres moved, orders can't find it

    Postgres moved to its own namespace overnight. Orders crash with ENOTFOUND. Point them at the right name.

    Medium~6 min
  2. 8

    CreateContainerConfigError

    After a password rotation, new pods never start and have no logs. Find the broken Secret reference.

    Medium~6 min
  3. 9

    Service has no endpoints

    All pods are Running and Ready, yet the Service times out. Kubernetes isn't broken; something doesn't match.

    Medium~8 min
  4. 10

    Ingress returns 503 on /api

    Pods are healthy, port-forward works, but the ingress answers 503 for every /api call.

    Medium~7 min
  5. 11

    Default-deny broke payments

    Security added a default-deny NetworkPolicy. The allow rule exists but payments still time out to the DB.

    Hard~10 min

03Scheduling & resources

Requests, taints, quotas, OOM and autoscaling. 0/5

  1. 12

    Pod stuck in Pending

    A new deployment never schedules. No logs, no crash, just Pending forever. Get it running.

    Medium~8 min
  2. 13

    Pending on the GPU node

    The new GPU node is reserved, and the inference pod can't land on it. Get it scheduled without opening the node to everyone.

    Medium~7 min
  3. 14

    0/3 and no pods at all

    A new deployment says 0/3 but no pods exist: not Pending, not crashing. Find what's blocking creation.

    Medium~7 min
  4. 15

    Exit code 137 at peak traffic

    Every evening at peak the API pods restart. Exit 137, OOMKilled. Stabilise prod and name the real cause.

    Hard~12 min
  5. 16

    Autoscaler stuck at <unknown>

    The HPA never scaled during the sale. It shows <unknown>/70% CPU. Make the autoscaler see CPU again.

    Hard~8 min

04Production

Rollouts, probes, RBAC, storage, drains and dead nodes. 0/7

  1. 17

    Hotfix pushed, nothing changed

    CI pushed the hotfix to :latest 20 minutes ago. Prod still runs the old build. Get the fix live.

    Medium~5 min
  2. 18

    Restarts only at peak traffic

    Pods restart every few minutes, only in the evening. Each restart makes the next one more likely. Break the cascade.

    Hard~9 min
  3. 19

    Rollout stuck at 1/3

    A release hangs forever: new pods start but never become Ready. Restore service, then find the bad change.

    Hard~12 min
  4. 20

    Cron job: pods is forbidden

    The nightly reporter fails with Forbidden. Grant exactly what it needs, nothing more.

    Hard~8 min
  5. 21

    StatefulSet stuck on its volume

    redis-0 is Pending with idle nodes. Its volume claim never bound. Fix storage and get it running.

    Hard~9 min
  6. 22

    Node drain took down every pod

    Last maintenance, draining a node evicted all 3 API pods at once. Tonight's drain must keep the API up.

    Hard~8 min
  7. 23

    3am: node NotReady

    A node went NotReady and its pods are Unknown. SSH in and bring it back. Kubernetes can't fix this one for you.

    Hard~10 min