I've also wrote a tutorial below for this repo.
I've included a packaged Helm(v3) chart.
https://fasterdevops.github.io/flask-docker-eks/
docker build -t pulpapi:latest .
docker run -t -p 5000:5000 pulpapi
request
curl -X GET http://localhost:5000/characters
result
{
"Available Characters": [
{
"name": "jules"
},
{
"name": "vincent"
},
{
"name": "mia"
}
]
}
request
curl -X GET http://localhost:5000/quote/mia
result
{
"mia says...": [
{
"quote": "When in conversation, do you listen, or do you just wait to talk?"
}
]
}
request
curl -X POST http://localhost:5000/quote/vincent -d 'quote=hi mark'
result
{
"status": "success"
}