26 lines
No EOL
1.3 KiB
Markdown
26 lines
No EOL
1.3 KiB
Markdown
# Automated deploy of django-todo project.
|
|
|
|
This is Minicube version https://git.ix.gs/public/coins-demo, I build it because the version with single node k8s still not stable in my test environment. I need some time to fix LB and CNI in QEMU.
|
|
|
|
Minicube version of this deployment requires superuser (uid 0) permissions escalation via sudo.
|
|
|
|
### 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`)
|
|
|
|
### 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` |