InterviewSolution
| 1. |
what is the ingress, is it something that runs as a pod or on a pod? |
|
Answer» An ingress is an object that holds a set of rules for an ingress controller, which is ESSENTIALLY a reverse proxy and is used to (in the case of nginx-ingress for example) render a configuration file. It allows access to your Kubernetes services from outside the Kubernetes cluster. It holds a set of rules. An Ingress Controller is a controller. Typically deployed as a Kubernetes Deployment. That deployment runs a reverse proxy, the ingress part, and a reconciler, the controller part. the reconciler configures the reverse proxy according to the rules in the ingress object. Ingress controllers watch the k8s api and update their CONFIG on changes. The rules help to PASS to a controller that is listening for them. You can deploy a bunch of ingress rules, but nothing will happen unless you have a controller that can process them. LoadBalancer service -> Ingress controller pods -> App service (VIA ingress) -> App pods |
|