R
Runpod4mo ago
mcmatak

Deploy invalid pod with critical fault

When i have some problem inside the docker code, like start.sh exited. How i can stop pod not automatically restart? I dont want to terminate pod bcs i am not abble to find the log after that. I need to stop but do not restart, bcs i dont want to pay until somebody fix the problem. All pods are started automatically by rest api request. If i returned exit 0 or exit 1 always the pod is restarted automatically, depends on the docker-compose.yaml? this i have set restart: on-failure so when i returned exit 0 than it should not be restarted, or? also where to save error, i used ENV variables to save last errors, any best practices on this problem?
2 Replies
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
mcmatak
mcmatakOP4mo ago
no gpu A5000

Did you find this page helpful?