BM: Baca dalam Bahasa Melayu
World K3: Counters & Doors
Gateway API: the main entrance
You will learn: how GatewayClass, Gateway and HTTPRoute let customers in.
Checked with Kubernetes 1.37 on 31 Oct 2026
The problem
kind-dev namespace defaultCustomers wait on the street. The shop’s order number only works inside. And there is no front door yet.
Watch
Tap each point on the timeline.
Gateway API is the main way in. It has three parts, owned by three teams. Tap each one.
Watch
kind-dev namespace defaultA Gateway: The main entrance and its signboards: the way in from the internet. is the main entrance. PROGRAMMED True means the door is built. ADDRESS is where customers knock.
Try it
Build the entrance and one signboard. Then knock from your laptop.
kind-dev namespace defaultshop3/3 ready
dev-control-planeOpenManagerNo trays here.
dev-workerOpen- shop·cgv72
- shop·qtdnk
dev-worker2Open- shop·csjj6
Hint
Two files:gateway.yaml (the door) and route.yaml (the sign). Then curl the ADDRESS.Watch
Follow one order from the street to a tray. Press Send, or Step for one hop at a time.
Press Send. Watch the request go hop by hop.
- BrowserGET / on port 80
- Gateway (entrance)entrance listens on :80
- HTTPRoute (signboard)/ → shop:80
- Service (order number)shop: port 80 → 80
- EndpointSlice (ready trays)3 ready of 3
- Pod (tray)shop-94c9756fd-8tghh listens on :80
Predict
You delete the HTTPRoute. The Gateway still runs. What does a customer get?
Pick one answer.
Check
Three parts, three teams. Who writes what?
Drag a card into a box. Or tap the card, then tap the box.
You did it!
You can now open a main entrance with Gateway API.
Go deeper (optional)
Gateway API is not built in. A cluster needs its CRDs plus one controller. Envoy Gateway, Istio, Cilium and NGINX Gateway Fabric are some. Every route here uses gateway.networking.k8s.io/v1. On kind, the Gateway address may need cloud-provider-kind.
Real rep (optional), on a throwaway kind cluster:
Real mission
kubectl get gatewayclasskubectl get gateway
0 of 4 steps done · Your ticks are saved.
Bahasa Melayu
Pelanggan menunggu di jalan. Nombor pesanan kedai hanya berfungsi di dalam. Dan belum ada pintu depan.
Gateway API ialah cara utama untuk masuk. Ia ada tiga bahagian, milik tiga pasukan. Ketik setiap satu.
Gateway (pintu masuk utama) ialah pintu depan. PROGRAMMED True maksudnya pintu dah siap dibina. ADDRESS ialah tempat pelanggan mengetuk.
Bina pintu masuk dan satu papan tanda. Kemudian ketuk dari laptop anda.
gateway.yaml (pintu) dan route.yaml (papan tanda). Kemudian curl ADDRESS itu.Ikut satu pesanan dari jalan sampai ke dulang. Tekan Send, atau Step untuk satu langkah demi satu.
Anda padam HTTPRoute. Gateway masih berjalan. Apa pelanggan dapat?
Tiga bahagian, tiga pasukan. Siapa tulis apa?
Kini anda boleh buka pintu masuk utama dengan Gateway API.
You finished this before. Practice is always welcome!
Official docs: Kubernetes: Gateway API · Gateway API docs · Gateway API: implementations
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?