/chucknorris_quotes

Made for fun

Primary LanguagePython

Chuck Norris Quotes webapp


This is flask based quotes webapp.

Tests

There is some tests available.

make tests

Deploy (K8s / Minikube)

Terraform used as IaC tool. Minikube (K8s) used as deploy environment.

  • image_name - pass image name
  • image_tag - pass image tag
  • gunicorn_log_level - enable verbose output (useful for debug)

Setup description

  • nginx used as reverse proxy (1 replica); official nginx image used
  • gunicorn / flask webapp (2 replicas); official alpine image used (+python3 runtime; +webapp)
## Build and deploy
make deploy
## Destroy deployment
make terraform-destroy

Open service in browser

minikube service quotes-webapp-nginx

Links