Can pods shutdown from inside the pod itself?
Wondering if the pod can accept a shutdown command to stop billing
6 Replies
Yes
Just call runpodctl pod stop $yourpodidhere on terminal
Inside the pod?
yes
And the POD ID is just an environment variable that's already provided right?
Yes check out the docs for envs
This worked perfectly ty
runpodctl stop pod $RUNPOD_POD_ID