This project contains the following:
- Linting project codes.
- Docker for containerize the applicaion.
- Deploy containerize application using Docker and prediction.
- Configure Kubernetes and create a Kubernetes cluster
- Deploy container using and prediction.
- Installation of Kubernetes and Minikube.
- Create a virtualenv and activate it
- Run
make install
to install the necessary dependencies
python app.py
make lint
./run_docker.sh
./upload_docker.sh
⚠️ Please don't forget to changedockerpath
anddocker ID
inupload_docker.sh
minikube start
kubectl get pod
After pod status change to Running
./run_kubernetes.sh
./make_prediction.sh
- config.yml: CircleCI configuration file.
- Makefile: includes instructions for setup, install, test and lint.
- app.py: Python application file.
- Dockerfile: Dockerfile for build and expose.
- run_docker.sh: Shell file to run Docker, locally.
- upload_docker.sh: Shell file to upload Docker image.
- run_kubernetes.sh: Shell file to run the app with kubernetes.
- make_prediction.sh: Shell file to test flask app locally.