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
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?
GitHub
GitHub - ashleykleynhans/runpod-api: A collection of Python scripts...
A collection of Python scripts for calling the RunPod GraphQL API - ashleykleynhans/runpod-api
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.
You need to send data centre id as well as network storage id
I don't see that in the samples. Data Centre Id, is it the countryCode? How about the network storage ID?
Not countryCode.
https://graphql-spec.runpod.io/#mutation-podFindAndDeployOnDemand
https://graphql-spec.runpod.io/#definition-PodFindAndDeployOnDemandInput
dataCenterId
and networkVolumeId
.I'll look at this, thank you!
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.