kube-proxy
- It's a
network proxythat maintainsnetwork ruleson nodes - These network rules allow network communication between the pods (from inside or outside of the cluster)
- It looks for new
servicesand create rules on each node to forward traffic to these services to the backend pods - Kube proxy is deployed as
DaemonSet(one replica for each node)
IP tables
- Kube-proxy creates an
IP tablerule on each node to forward traffic - IP of the service -> IP of the pod
