10: Service discovery deep dive

In this chapter, you’ll learn about service discovery, why it’s important, and how it’s implemented in Kubernetes. You’ll also learn some troubleshooting tips.

You’ll get the most from this chapter if you know how Kubernetes Services work. If you don’t already know this, you should read Chapter 7 first.

The chapter is split into the following sections:

  • Setting the scene
  • The Service registry
  • Service registration
  • Service discovery
  • Service discovery and Namespaces
  • Troubleshooting service discovery

Note: The word service has a lot of different meanings. We capitalize the first letter for clarity when referring to the Service resource in the Kubernetes API.

Setting the scene

Finding things on busy platforms like ...

Get The Kubernetes Book - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.