R
RunPod5mo ago
sluzorz

Can pods shutdown from inside the pod itself?

Wondering if the pod can accept a shutdown command to stop billing
6 Replies
nerdylive
nerdylive5mo ago
Yes Just call runpodctl pod stop $yourpodidhere on terminal
sluzorz
sluzorzOP5mo ago
Inside the pod?
nerdylive
nerdylive5mo ago
yes
sluzorz
sluzorzOP5mo ago
And the POD ID is just an environment variable that's already provided right?
nerdylive
nerdylive5mo ago
Yes check out the docs for envs
sluzorz
sluzorzOP5mo ago
This worked perfectly ty runpodctl stop pod $RUNPOD_POD_ID
Want results from more Discord servers?
Add your server