R
RunPod9mo ago
f4242

Create new pod with runpodctl

I'm trying to create a pod with runpodctl. It appears by reading the --help that I cannot create a pod using network storage for /workspace? I didn't find the correct option to pass. Maybe with --args ? Bonus point: how can I create a pod with specific requirements? Eg: Start a pod with 48 GB of VRAM with cost less than $1/hr. It could start a pod with 2xA5000 or 1xA6000 depending of available resources.
8 Replies
f4242
f4242OP9mo ago
So, it's not possible to create a pod using a network storage with runpodctl? Is there another way to schedule start/stop based on day/hour?
ashleyk
ashleyk9mo ago
GitHub
GitHub - ashleykleynhans/runpod-api: A collection of Python scripts...
A collection of Python scripts for calling the RunPod GraphQL API - ashleykleynhans/runpod-api
f4242
f4242OP9mo ago
Hi @ashleyk Seem interesting but I didn't found how to use network storage (already created) instead of persistant data. I guess I would have to pass the network storage ID but I didn't find how.
ashleyk
ashleyk9mo ago
You need to send data centre id as well as network storage id
f4242
f4242OP9mo ago
I don't see that in the samples. Data Centre Id, is it the countryCode? How about the network storage ID?
f4242
f4242OP9mo ago
I'll look at this, thank you!
ashleyk
ashleyk9mo ago
Its also supported in the RunPod SDK: https://github.com/runpod/runpod-python
GitHub
GitHub - runpod/runpod-python: 🐍 | Python library for RunPod API an...
🐍 | Python library for RunPod API and serverless worker SDK. - GitHub - runpod/runpod-python: 🐍 | Python library for RunPod API and serverless worker SDK.
Want results from more Discord servers?
Add your server