Advanced Traffic Routing with Ingress
This section will explain how Ingress can be used to supply advanced networking and mechanisms of traffic routing in Kubernetes. Fundamentally, an Ingress is a reverse proxy Kubernetes resource. It will route incoming requests from outside of the cluster to services inside of the cluster based on rules specified in the ingress configuration. A single entry may be used to allow external users to access applications deployed within the cluster.
Before we look at Ingress and its resources, let’s do a quick recap of the various Kubernetes service types that we have used to access applications.
Refresher – Kubernetes Services
In Chapter 8, Exposing Your Pods with Services, you learned about the Service objects that can be used to expose Pods to load-balanced traffic, both internal as well as external. Internally, they are implemented as virtual IP addresses managed by kube-proxy at each of the Nodes. We are going to do a quick...