Every Layer

Every layer, from packet to GPU

Watch an AI factory and a Kubernetes cluster work, one event at a time

Interactive lessons that play out what happens when a prompt reaches a GPU or you run kubectl apply: gateway decisions, the endpoint picker, KV cache, API calls, etcd writes and real packets, each one decoded field by field. It all runs in your browser, no cluster and no GPU needed.

How a lesson works

  1. 1

    Watch it move

    Each event travels between the real parts: a gateway, the endpoint picker, a GPU worker, the API server, a kubelet, a veth pair.

  2. 2

    Read one step at a time

    Plain sentences say who acts, what they send and what changes, with the real names and IP addresses.

  3. 3

    Open any event

    The decoder lists every field, marks what changed and draws packet headers, from TLS and gRPC down to VXLAN.

Questions the lessons answer

262,144 bytes on Qwen3-32B. Each of 64 layers keeps a key and a value for 8 heads, 128 numbers each, at 2 bytes a number.

attention → KV cache

5 tokens × 262,144 B = 1,310,720 B

layers
64
keys and values
2
key and value heads
8
numbers per head
128
bytes per number
2
total
262,144 BCHANGED
Watch it in Which token comes next, step 5

The same setup in every lesson

Every lesson runs on the same small Kubernetes cluster or the same AI factory, so the addresses you learn in one lesson are the ones you see in the next.

You · kubectl
192.168.1.10
Control plane
10.0.0.10:6443
node-1
10.0.1.11 · Pods 10.244.1.0/24
node-2
10.0.1.12 · Pods 10.244.2.0/24
Load balancer
203.0.113.50
App · web
3 replicas · 10.96.120.15:80
BNK data plane
TMM · VIP 203.0.113.80
GPU workers
3 × vLLM · Qwen3-32B

Built on open source

The lesson engine and the Kubernetes lessons come from KubeLearn by Joe Sabbagh, used under the MIT license. Each lesson is a TypeScript file of steps and events.

Source on GitHub