Introduction
Explore how Kubernetes Ingress works to route HTTP requests to different services based on defined rules. Understand the role of Ingress controllers like nginx, set up services and deployments, and configure Ingress manifests to expose your applications externally. This lesson helps you grasp essential Ingress concepts and prepares you to manage traffic flow in your Kubernetes cluster.
We'll cover the following...
Introduction to ingress
Ingress is another Kubernetes resource we can use to expose http(s) routes to external users.
You can think of an Ingress as something that sits in front of several services, and based on some rules that you define, it will decide where a given request should be sent to.
Adding an ingress controller
One peculiarity of the Ingress resource is that in order for it to work you need to have an Ingress Controller running in your cluster. This controller is what will decide what happens when you create a new Ingress.
There are several different open source controllers available, each with its own set of features. We will run the nginx ingress controller in our cluster, but the features we ...