runpod / runpodctl

🧰 | RunPod CLI for pod management
https://www.runpod.io/
GNU General Public License v3.0
262 stars 37 forks source link

can't start spot pod using the cli #156

Open youcefs21 opened 4 months ago

youcefs21 commented 4 months ago

I'm trying to start a pod using the cli by doing:

 runpodctl start pod <id>

but I'm getting the error: Error: Cannot resume a spot pod as an on demand pod.

I also tried putting a bid that matches the spot pricing:

runpodctl start pod --bid 0.340 <id>

and that gets me a different error Error: PodBidResume: statuscode 400

youcefs21 commented 4 months ago

turns out the graphQL call was missing an argument, fixed it in #157