Why Do We Need Ingress?

Some pods will require user input of some kind to interact with the running container.

An example of this might be a web application. Without the user being able to browse the application in their web browser, the application is useless.

Within Kubernetes, setting up access to a pod from outside is referred to as _Ingress. _Ingress allows you to manage traffic and routing rules via a resource that is running as part of your cluster or via an external offering such as a load balancer, which is then also managed from within the cluster.

An Ingress resource is essentially a collection of rules for routing that allow or deny users access to services running within a cluster.

Currently, there are three ways to handle Ingress with Kubernetes:

  • Ingress controllers
  • Node port
  • Load balancer

#docker #kubernetes #programming #devops

How Ingress Works in Kubernetes
3.15 GEEK