World map

 

BM: Baca dalam Bahasa Melayu

World K1: The Food Court

Food court, stalls, trays

You will learn: what a cluster, a node and a pod are, and how they fit together.

Checked with Kubernetes 1.37 on 31 Oct 2026

The problem

You are here: cluster kind-dev namespace default
Three shop pods. The NODE column says dev-worker for two of them and dev-worker2 for one. Terminal output: $ kubectl get pods -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES shop-747bf9cf8-d6b6z 1/1 Running 0 22s 10.244.1.3 dev-worker <none> <none> shop-747bf9cf8-gnjxm 1/1 Running 0 22s 10.244.2.3 dev-worker2 <none> <none> shop-747bf9cf8-zbn9j 1/1 Running 0 22s 10.244.1.4 dev-worker <none> <none>

Your shop has 3 pods. Scroll to the NODE column: two different names. So where do your pods really live?

Try it

The whole food court is one cluster: The whole food court: a group of machines that Kubernetes runs as one.: machines that work as one. Type kubectl get nodes to list its machines.

You are here: cluster kind-dev namespace default
Stalls: 3. Trays: 3 (3 ready). Waiting for a stall: 0.
dev-control-planeOpenManager

No trays here.

dev-workerOpen
  • shop·d6b6z
  • shop·zbn9j
dev-worker2Open
  • shop·gnjxm
Time: +0s (sped up)

Check

Each machine is a node: One stall: one machine in the cluster.: one stall. Why does dev-control-plane hold none of your trays?

Pick one answer.

Watch

You are here: cluster kind-dev namespace default
kubectl get pods: three shop pods, each READY 1/1 and Running. Terminal output: $ kubectl get pods NAME READY STATUS RESTARTS AGE shop-747bf9cf8-d6b6z 1/1 Running 0 22s shop-747bf9cf8-gnjxm 1/1 Running 0 22s shop-747bf9cf8-zbn9j 1/1 Running 0 22s

Your containers ride on a pod: A tray of dishes that always go together: one or more containers.: a tray of dishes that always go together. READY 1/1 means one container on the tray, and it is ready.

Try it

Food court, stall or tray? Sort each one.

Drag a card into a box. Or tap the card, then tap the box.

        Predict

        One pod holds two containers: web and a helper. Can they sit on different nodes?

        Pick one answer.

        Check

        Biggest to smallest. Put them in order.

        Biggest at the top. Put these in order. Use the arrows, or drag.

        • container (lunchbox)
        • cluster (food court)
        • node (stall)
        • pod (tray)

        You did it!

        You can now name the cluster, its nodes and their pods.

        Go deeper (optional)

        Containers in one pod share one IP address. They talk to each other over localhost. Most pods hold just one container. Pods with helpers come in World K2.

        Real rep (optional): on your kind cluster, kubectl get nodes and kubectl get pods -o wide show the same picture.