I want to say part of this had to do with the fact that the /metrics endpoint was publicly accessible, so we're going to want to make that only accessible within the cluster and I'm not sure how to do that. But once we start getting a production load on the server, we really need to not be running the dev server anymore.
I was naive when I did #91. The container should not start with
flask
because that's the development server 🤦Production should be running uwsgi, which is why the Dockerfile specifies that.
I want to say part of this had to do with the fact that the
/metrics
endpoint was publicly accessible, so we're going to want to make that only accessible within the cluster and I'm not sure how to do that. But once we start getting a production load on the server, we really need to not be running the dev server anymore.