coins-demo-minikube/README.md

26 lines
1.3 KiB
Markdown
Raw Normal View History

2020-08-02 17:17:01 +00:00
# Automated deploy of django-todo project.
2020-08-02 17:01:04 +00:00
2020-08-04 16:26:09 +00:00
This is Minicube version of 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.
2020-08-02 17:17:01 +00:00
Minicube version of this deployment requires superuser (uid 0) permissions escalation via sudo.
2020-08-02 17:03:13 +00:00
### 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:
2020-08-02 17:17:01 +00:00
1. This solution not working on VirtualBox, but working fine on bare metal Debian installation.
2020-08-02 17:03:13 +00:00
### For start adventures:
1. Just clone this repo
2. Go to the repo directory
3. And type `./runme.sh` in your shell
2020-08-02 17:17:01 +00:00
### 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`