runpod / runpodctl

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

Feature request: Create pod in a specific DC #158

Closed dpkirchner closed 1 month ago

dpkirchner commented 3 months ago

I'm looking for a way to create a pod in a specific datacenter from the command line. There's a way to do it with the web interface -- it looks like we'd just need to pass dataCenterId in the graphql request (unless I'm misreading something). I guess it'd need to be added somewhere like this:

https://github.com/runpod/runpodctl/blob/46dbb96e4d5dc08e645fe674bb916471004650f5/api/pod.go#L138