refer to the current running pod's id from environment variable

is there any way to refer to the current running id of pods from env?
Solution:
Yes but remember to use a $ in front of the variable name.
echo $RUNPOD_POD_ID
echo $RUNPOD_POD_ID
...
Jump to solution
2 Replies
Sigrid Jin
Sigrid JinOP12mo ago
solution : echo $RUNPOD_POD_ID
Solution
ashleyk
ashleyk12mo ago
Yes but remember to use a $ in front of the variable name.
echo $RUNPOD_POD_ID
echo $RUNPOD_POD_ID
Want results from more Discord servers?
Add your server