I've installed Ingress-Nginx Controller using the ingress-nginx helm chart.
Is it possible to have 2 or more ingress-nginx-controller Pod replicas ?
I noticed that in the helm chart, there is even an option for auto-scaling.
I currently only have one replica, but I would like to do something like this:
$ kubectl scale deploy ingress-nginx-controller --replicas=3
I'm not sure if it will work as expected, especially with caching, cookies, sessions etc.
Yes, you can run multiple NGINX Ingress Controllers, each handling a different set of configuration resources by following this nginx ingress controller doc.
You can scale the ingress-nginx-controller deployment to 3 replicas, by using the following command :
kubectl scale deployment nginx-ingress-controller -n ingress-nginx --replicas=3.Let me know if you get any errors. For more information refer to this multiple ingress controller documentation.