Kubernetes (& cloud-native) are the hottest words in the industry nowadays, everyone is moving to Kubernetes (either on the cloud or onPerm). I was puzzled how to get itwork with Django as Django has a lot of working parts e.g Database engine, caching engine and media files. Lately, I've been working on solving that puzzle and it took me some time, so I decided to write this series of article to show how it can be done.
You just need an Ubuntu 20.04+ laptop or a PC to be able to test and play with us and everything is available on GitHub repo
mkalioby / django-on-k8s
Deploy on a django on Kubernetes
The project (we will deploy) is a simple application that let a user logs in and once they log in the system, tell them their 'Welcome request.user.username'
The series is a working-in-progress and will get updated frequently as we discover more, currently we will start with the following 6 parts
Part I: Install Docker and minikube
Part II: Create an app image
Part III: Run the app on K8s with SQLite
Part IV: Adding storage to persist files.
Part V: Using a DBMS like MySQL
Part VI: Advanced topics.
- Readiness & Liveness checks
- Executing commands inside containers
- Rolling updates and rollback
So Let's start by Part I
Top comments (0)