Do I need NGINX in Kubernetes for Flask/Django deployment?

6/13/2019

So I have a bunch of flask apps and a bunch of django apps that need to be thrown onto K8s to then communicate together. Now, I understand I need a WSGI server on each of the containers I deploy. However do I need to deploy an NGINX container to forward the requests to the WSGI servers, or can I just deploy the pods containing the containers inside the service and the service will sort it out?

-- David Boshton
django
kubernetes
nginx

1 Answer

6/13/2019

no need for NGINX in this case, also you can use ingress instead https://kubernetes.io/docs/concepts/services-networking/ingress/ to manages external access to the services (internally it uses nginx).

-- M.Elkady
Source: StackOverflow