A simple python flask rest API configured with mysql database
using Docker-compose to create and test with docker desktop
using Kompose, reconfigure yaml files, add secret and deploy on kuberntes Desktop
use ansible for configuration as code to create a cluster with nodes and deploy the sample application
Download the repo
run the command "docker-compose up"
check the api on your browser "localhost:8001/ui"
Stop the running containers or end docker-compose by "docker-compose down"
run the file conf_apply_kubernetes.ps1 to apply the configuration of kubernetes
check the list of services
check the api on your browser "localhost:8000/ui"
the service account json file "sherweb-poject-sa.json" is not pushed to this public repository for security reasons
can be tested by modifying main files under vars folders and including service account json file with GKE admin role
link to api deployed on GCP : http://34.66.42.61:8080/ui