0

I created Django site and expecting a lot of processing on my site. I'm running Nginx server with Gunicorn as explained in this tutorial

I would like to make something scalable to be able to raise processing power on my site. I have a simple question. Is it possible to move this severs-lump into kubernetes? And if yes, is it a good idea? Or should I use nginx with uWSGI ?

0

1 Answer 1

2

Yes, it is possible to move servers-lamp into Kubernetes.

Yes, it is a good idea however it depends on you and your organisation's policies.

In Kubernetes, you can use Nginx ingress controller and run Gunicorn, uWSGI. We are running a flask with Gunicorn on K8s along with an Ingress controller so far it's working well.

You can refer to this article also: https://medium.com/google-cloud/a-guide-to-deploy-flask-app-on-google-kubernetes-engine-bfbbee5c6fb

Sign up to request clarification or add additional context in comments.

2 Comments

thanks for the explanation! My organization has own servers, so I will probably creating the Kuberenets by myself, do you think it easier to apply it for Gunicorn or uWSGI?
Yes it's easy however inside docker you can run single process also with python run.py

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.