headless Service

A Service with no cluster IP whose DNS name returns the individual pod addresses, giving each pod a stable name of its own.

In more detail

StatefulSets use one so that each replica can be reached as web-0.web, web-1.web and so on. There is no load balancing through kube-proxy; clients pick a pod themselves. It is declared by setting clusterIP to None.

Related terms

Related guides

Taught in

References

Certification courses