What happens when a visitor opens your app on Kubernetes
How a Kubernetes Service address leads to one of your pods
You send a request to a Kubernetes Service, and it reaches one of your pods. Yet no machine in the cluster has the address of the Service. So where does the request change its way?
-
1
Shrink to the size of a request, inside node-4. The order app has just written one to the Service and lets it go.
-
2
Read the envelope: it goes to the Service's address. Your 3 pods each have an address of their own, and this one is none of them. Sent like that, the request would reach nobody.
The rest of this episode is for subscribers
Subscribe to read every premium episode. You can cancel when you want.
Paid yearly: $99 instead of $119.88