Replicas/Load Balancer Mapping

December 6, 2018 361 views
Kubernetes Load Balancing

Please forgive me in advance for the nooby question. I created a deployment with 3 replicates running in 3 pods. My cluster consists of 5 nodes. I have a load balancer that takes the public IP and distributes the load across all 5 nodes in my cluster. Everything seems to be working fine, and all 5 nodes are healthy where it looks like it's mapping to a port that is exposed via the pod.

I would have expected two of the mappings on the load balancer to be "unhealthy" and it only maps to the 3 active nodes with an active deployment. Can someone give me an education?

Be the first one to answer this question.