how to do flask db upgrade only once when using replicas

前端 未结 0 1748
小鲜肉
小鲜肉 2021-02-07 01:32

I am trying to deploy my simple Flask application in a GCP Kubernetes cluster. I have a starting script that runs my application when the container starts, which looks like

相关标签:
回答
  • 消灭零回复
提交回复
热议问题