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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.