Kubernetes Deep Dive

Sign Up Free or Log In to participate!

How does the kube-proxy of a pod know what are the IPs of the other pods on real-time if they are changing all the time?

Basically that is my question:

How does the kube-proxy of a pod know what are the IPs of the other pods on real-time if they are changing all the time? That IPtable sounds kinda persistent, how does it get update if a pod cannot reach the Service IP and communicate with the IP?

1 Answers

A Service points to an Endpoint Object, which keeps a history of all the pods in the service

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?