- cd into
index_prediction_app
folder - Install required libraries
pip install -r requirements.txt
- Inside the
index_prediction_app
folder runflask run
and access the app in the browser.
- Pull the image from docker hub
sudo docker pull navin772/preds_dev:4.0
or you can build the image using the Dockerfile. - Start a new container using the pulled image
sudo docker run -p 7000:5000 <image_id>
- Access the flask app on
localhost:7000
- cd into
k8s_deployment_yaml
folder and runkubectl apply -k
and kustomize will apply all the yaml files to the k8s cluster. - Access the app on
<NodeIP>:<NodePort>
This Kaggle notebook was sourced and modified from GILBERTO BERNAL
index_prediction_app/indexData.csv
is licensed by Data files © Original Authors. Data sourced from Kaggle