Chapter 5: Services and Ingress – Communicating with the Outside World

This chapter contains a comprehensive discussion of the methods that Kubernetes provides to allow applications to communicate with each other, and with resources outside the cluster. You'll learn about the Kubernetes Service resource and all its possible types – ClusterIP, NodePort, LoadBalancer, and ExternalName – as well as how to implement them. Finally, you'll learn how to use Kubernetes Ingress.

In this chapter, we will cover the following topics:

  • Understanding Services and cluster DNS
  • Implementing ClusterIP
  • Using NodePort
  • Setting up a LoadBalancer Service
  • Creating an ExternalName Service
  • Configuring Ingress

Technical requirement

In order to run the commands detailed ...

Get Cloud Native with Kubernetes 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.