Machine Learning Microservice API - Udacity DevOps nanodegree program
Machine Learning Microservice API
This project contains a web application to predict prizes based un machine learning algorithms based on some data.
It also contains all the necessary configuration to run the application within a docker container and within a kubernetes cluster.
You can either run the application via python3 app.py
to run it locally, but you’re encouraged to run it within a containerized environment.
Please refer to the run_docker.sh
and run_kubernetes.sh
scripts.
Perform:
shell script
make run
It will run the python app in port 80.
run_docker.sh
running the application within docker.run_kubernetes
running the application within kubernetes cluster.make_prediction.sh
once the application is running, this script makes a request to the web server.