https://github.com/pasiol/django-k8s-demo
Django Kubernetes demo
https://github.com/pasiol/django-k8s-demo
Last synced: 2 months ago
JSON representation
Django Kubernetes demo
- Host: GitHub
- URL: https://github.com/pasiol/django-k8s-demo
- Owner: pasiol
- Created: 2019-09-23T15:28:55.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-31T12:06:07.000Z (about 1 year ago)
- Last Synced: 2025-12-26T15:08:30.309Z (6 months ago)
- Language: JavaScript
- Size: 6.19 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Django Kubernetes Demo
Simple Django app that calculates the percentage of requests per container. Demonstrates how to run Django in Kubernetes environment.
https://www.djangoproject.com/
The info module creates a UUID for the starting container. /container-info endpoint displays the requests and percentage of total requests received by the container.

The deployment is for Vanilla Kubernetes with local path storage.
https://github.com/pasiol/edunetes
kubectl apply -f deployments/blue-green/ns.yaml
kubectl config set-context --current --namespace=blue-green
kubectl apply -f deployments/blue-green/.
kubectl get pods -o wide -w