Skip to content
Opsfolk

Services and networking, topic 20 of 61

Services

Pods come and go with new IPs, so clients need something that stays. A Service selects Pods by label and gives them one virtual IP and DNS name, spreading connections across the Pods that are ready.

A ClusterIP Service is reachable inside the cluster only. NodePort opens the same port on every node; LoadBalancer asks the cloud for an external load balancer in front of that. A headless Service, with no IP, returns the Pods' own addresses, which StatefulSets use.

On Opsfolk

Elsewhere

Your progress