BM: Baca dalam Bahasa Melayu
World K3: Counters & Doors
Every pod gets an IP
You will learn: how pods reach each other, and why their addresses change.
Checked with Kubernetes 1.37 on 31 Oct 2026
The problem
kind-dev namespace defaultThe client tray is hungry. Three shop trays can cook. How does the client reach one of them?
Watch
Tap each point on the timeline.
Every pod gets its own pod IP: A tray's own table number: every pod gets an IP. A replaced pod gets a new one.. Think of a table number for each tray. Tap each step.
Watch
kind-dev namespace defaultkubectl exec client -- wget … runs wget inside the client tray. It calls one shop tray straight by its IP. The page comes back.
Try it
Delete one shop tray. Then look at the IP column again.
kind-dev namespace defaultdev-control-planeOpenManagerNo trays here.
dev-workerOpen- shop·8tghh
- shop·pklq2
dev-worker2Open- client
- shop·hjttw
Hint
kubectl delete pod <name> throws one tray away. kubectl get pods -o wide shows the IPs.Predict
The new tray got a new IP. The client saved the old one. What happens to its next order?
Pick one answer.
Check
Pod IPs change. Judge each habit.
Swipe right for good, left for needs work. Or use the buttons.
Expect a new IP when a pod is replaced.
You did it!
You can now explain pod IPs, and why they change.
Go deeper (optional)
Each stall hands out IPs from its own range, like 10.244.1.0/24 on dev-worker. A network plugin (CNI) does this work. You meet it in lesson 11.
Real rep (optional), on a throwaway kind cluster:
Real mission
kubectl config current-contextkubectl create deployment shop --image=nginx:1.29-alpine --replicas=3kubectl get pods -o wide
0 of 4 steps done · Your ticks are saved.
Bahasa Melayu
Dulang client lapar. Tiga dulang kedai boleh masak. Macam mana client nak sampai ke salah satu?
Setiap pod (dulang) dapat IP pod sendiri. Macam nombor meja untuk setiap dulang. Ketik setiap langkah.
kubectl exec client -- wget … jalankan wget di dalam dulang client. Ia panggil satu dulang kedai terus ikut IP. Halaman pun sampai.
Padam satu dulang kedai. Kemudian lihat lajur IP sekali lagi.
kubectl delete pod <nama> buang satu dulang. kubectl get pods -o wide tunjuk IP.Dulang baharu dapat IP baharu. Client masih simpan IP lama. Apa jadi pada pesanan seterusnya?
IP pod berubah. Nilai setiap tabiat.
Kini anda boleh terangkan IP pod, dan kenapa ia berubah.
You finished this before. Practice is always welcome!
Official docs: Kubernetes: the network model · Kubernetes: cluster networking
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?