So I'm aware flask's development server isn't advised for production for a few reason (see this question's top answer). However these issues seem to imply either a problem with scalability or security. I have a question related to this (that may be completely naïve) - give the following setup is there any issue using flask:
- The webserver itself doesn't run the flask apps, they are stored on a Kubernetes machine that is linked locally.
- The processes are demanding enough that running more than one concurrently would cause slowdowns, and thus load balancing between Kubernetes is already planned.
- The user should never be able to directly access the flask apps since they only respond to local addresses (assuming my understanding of how flask set up works).
To my eye this seems to bypass all of the reasons that flask shouldn't be used for deployment - but I still feel like I'm doing something wrong if I go ahead with the above plan. It wasn't designed this way to deal with flask, it just happened to solve all the issues I've read about flask - is there any further dangers than direct user access and scalability and parallelism?