No description
Find a file
2020-08-04 16:30:00 +00:00
inventory baremetal-final-minikube 2020-08-02 19:08:42 +02:00
roles/bootstrap baremetal-final-minikube 2020-08-02 19:08:42 +02:00
templates baremetal-final-minikube 2020-08-02 19:08:42 +02:00
.gitignore Initial commit 2020-08-02 17:01:04 +00:00
ansible.cfg baremetal-final-minikube 2020-08-02 19:08:42 +02:00
bootstrap.yml baremetal-final-minikube 2020-08-02 19:08:42 +02:00
Chart.yaml baremetal-final-minikube 2020-08-02 19:08:42 +02:00
Dockerfile baremetal-final-minikube 2020-08-02 19:08:42 +02:00
init.sh baremetal-final-minikube 2020-08-02 19:08:42 +02:00
local.py baremetal-final-minikube 2020-08-02 19:08:42 +02:00
README.md Update 'README.md' 2020-08-04 16:30:00 +00:00
runme.sh baremetal-final-minikube 2020-08-02 19:08:42 +02:00
values.yaml baremetal-final-minikube 2020-08-02 19:08:42 +02:00

Automated deploy of django-todo project.

Pre requires:

  1. x86_64 deb based Linux distribution. Tested on Debian 9, but must work on any Debian based distro.
  2. Internet access
  3. GIT (apt-get update && apt-get install -y git)
  4. Ansible (apt-get update && apt-get install -y ansible)
  5. sudo (apt-get update && apt-get install -y sudo)

Known bugs and limitation:

  1. This solution not working on VirtualBox, but working fine on bare metal Debian installation.

For start adventures:

  1. Just clone this repo
  2. Go to the repo directory
  3. And type ./runme.sh in your shell

What happened after you run this script:

  1. First of all, we install Minicube and deps with simple Ansible playbook (bootstrap.yml)
  2. Booting Up Minicube with KVM backend
  3. Building Docker image from Alpine Python 3.6 base (without tags, because CI/CD/hooks not implemented in this repo)
  4. Installing our app set with Helm (with small customization of Bitnami's Postgres via values.yaml)
  5. Exposing service via minicube service