I am using a flask microservice with gunicorn to make requests to a service hosted on Google Kubernetes engine. The microservice is dockerised and is hosted as a pod on google k
It was most likely a memory issue. I deleted the deployment and pushed it again with more resources allocated to it and it started running without any errors.
I think the problem might be similar to this one. https://stackoverflow.com/a/50157417/4229159
The app
folder (the one you create in docker) and the app
file have the same name. Could you try it again renaming one of them?
The rest of the files look ok, and it seems only to be a problem of gunicorn