Service discovery lets applications locate other applications or services and obtain the information needed to use them. Kubernetes provides this infrastructure capability so developers can focus on business logic instead of implementing discovery themselves. section 1.2.1
In a distributed application, Kubernetes can discover services or peers while keeping the application Kubernetes-agnostic. Applications may query the Kubernetes API when they need more detailed information about their environment. section 1.2.2
Service discovery belongs to a broader set of platform-provided capabilities, alongside horizontal scaling, load-balancing, self-healing, leader election, and centralized application configuration. section 1.2.1 section 1.2.2
Figure 1.8 Kubernetes is to a computer cluster what an operating system is to a computer.
The operating-system analogy places service discovery among the basic cluster capabilities Kubernetes supplies to applications. section 1.2.1






