Service Discovery

Explore Service discovery and ClusterIP routing in Kubernetes.

Applications use names to talk to other apps. However, they need to convert these names into IP addresses, which is where service discovery comes into play.

Assume we have a cluster with two apps called enterprise and cerritos. The enterprise app sits behind a ClusterIP Service called ent, and the cerritos app sits behind one called cer. Kubernetes has assigned both Services a ClusterIP, and the cluster DNS has automatically registered them. Right now, things are as follows.

Get hands-on with 1400+ tech skills courses.