Asking for help? Comment out what you need so we can get more information to help you!
Kubernetes version: client (1.27); server (1.24)
Cloud being used: (put bare-metal if not on a public cloud)
Client OS: windows/amd64
Server OS: linux/amd64
I want to run a flask application inside a docker container placed in a pod. I set the command of execution in deployment, but it just won’t work and continue to give me a feedback of crashloop back off. There are no logs available too.
But if I set the command to
sleep infinity inside the deployment and run the command to execute the flask application manually with
kubectl exec -it <pod name> --namespace <my namespace>, The application will work totally fine without erros.
The command to execute the flask application is
uwsgi --http <myurl:myport> --wsgi-file <my app file> --callable <my app name>
Can somebody help me with this issue? Thanks in advance!