In Chapter 3, Getting Started with Kubernetes, we learned how to deploy containers with different resources and also looked at how to use volumes to persist data, dynamic provisioning, different storage classes, and advanced administration in Kubernetes. In this chapter, we'll learn how Kubernetes routes traffic to make all of this possible. Networking always plays an important role in the software world. We'll learn about Kubernetes networking step by step, looking at the communication between containers on a single host, multiple hosts, and inside a cluster.
The following are the topics we'll cover in this chapter:
- Kubernetes networking
- Docker networking
- Ingress
- Network policy
- Service mesh