R
RunPod3mo 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
nerdylive3mo ago
Yes Just call runpodctl pod stop $yourpodidhere on terminal
sluzorz
sluzorz3mo ago
Inside the pod?
nerdylive
nerdylive3mo ago
yes
sluzorz
sluzorz3mo ago
And the POD ID is just an environment variable that's already provided right?
nerdylive
nerdylive3mo ago
Yes check out the docs for envs
sluzorz
sluzorz3mo ago
This worked perfectly ty runpodctl stop pod $RUNPOD_POD_ID
Want results from more Discord servers?
Add your server