#best practice to terminate pods on job completion

10 messages · Page 1 of 1 (latest)

rain stirrup
#

I have a one time job I want to run as a GPU pod. Currently the container gets restarted as soon as the job finishes. What's the best way to terminate the pod after completion?

tepid junco
rain stirrup
#

Thanks for the pointer. You mean I should install it in the container and add my credentials to it, and then terminate as soon as the job is done?

tepid junco
#

You may also want to consider using serverless instead of GPU cloud.

rain stirrup
#

I don't have a large number of jobs (~20) each running for ~1h. Does that still make sense?

olive urchin
#

I also run jobs every so often like transcriptions on runpod, but I dont want to be spinning up a pod every time

#

So I just ping it to a serverless function to queue up

#

and wait for the responses to finish

#

GPU Cloud the difference is usually u start up some openssh server and jupyter lab, but the environment is the same setup if it works in GPU Cloud, will work in serverless (most of the time with some exceptions)