Check if a pod is idle
Hello, I am an admin for a team looking to start using runpod. I would like to be able to check whether a pod has been idle for a certain amount of time, with the intention of terminating it.
What's the best way to do this?
7 Replies
Solution
just an old comment i had remembered maybe a place to look
but there is the runpod graphql specs to start / stop it forever usage u might want
https://docs.runpod.io/docs/graphql-api
makes me wonder any reason why using pod vs serverless?
serverless would be an on demand function call essentially depending what u need it for
I'm an admin of a research group. Each pod is an instance supporting active development rather than a node ready for deployment. Correct me if I'm wrong, but this doesn't feel like it fits the usecase for serverless.
I see makes sense. You are correct. Your best bet is that bash script then is my guess 🙂
Thanks for the help! I'll look into setting up a template w/ the bashscript in place