Do I need an nginx container inside my Kubernetes cluster to serve my static files if I am using Ingress-Nginx service on the cluster?

2/23/2021

Might be a dumb question but I have a relatively simple Django App running in a docker container, also I have an Nginx container as a reverse-proxy serving my static files for the same app. Now, the question is, when I am to put the Django app inside a K8s cluster and spin up an Ingress-Nginx service, would I still need an Nginx container running inside the cluster to serve static files or I can use Ingress-Nginx for that? Thanks

-- Belkin Jr
django
docker
kubernetes
nginx

0 Answers