/k8s-django

Deploy your Django project in to a Kubernetes cluster

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

Build Status

k8s-django

Deploy your Django project in to a Kubernetes cluster.

Kubernetes config files can be found at k8s directory

Initial setup

  1. Create a Kubernetes cluster with your favorite provider
  2. Download the k8s Config yaml file
  3. Install kubectl using homebrew or your OS package manager
  4. Export the file to the path by export KUBECONFIG=~/Downloads/django-kubeconfig.yaml

Installing Helm

Setting up træfik

helm repo add traefik https://containous.github.io/traefik-helm-chart
helm install traefik traefik/traefik

Applying the configuration files

kubectl apply -f k8s/

Contributing

Feel free to make this code better !