Pseudoface
Pseudoface
RRunPod
Created by Lucy_igg on 3/21/2024 in #⛅|pods
runpodctl create pod for CPU only
Hey, in case you're still searching for a way to do this programmatically, I managed to do it with GraphQL thanks to the idea of a community helper: https://discord.com/channels/912829806415085598/1249257507164127243
6 replies
RRunPod
Created by Pseudoface on 6/9/2024 in #⛅|pods
Create CPU Pod through GraphQL
Example of the mutation: { "query": "mutation { deployCpuPod( input: { cloudType: SECURE, containerDiskInGb: 15, dataCenterId: null, deployCost: 0.06, instanceId: "cpu3c-2-4", networkVolumeId: null, ports: "8888/http", startJupyter: true, startSsh: true, templateId: "your template id", volumeKey: null } ) { id }" }
13 replies
RRunPod
Created by Pseudoface on 6/9/2024 in #⛅|pods
Create CPU Pod through GraphQL
For now this works great
13 replies
RRunPod
Created by Pseudoface on 6/9/2024 in #⛅|pods
Create CPU Pod through GraphQL
I'd imagine it will be more of a priority for them now that they've added CPU endpoints too
13 replies
RRunPod
Created by Pseudoface on 6/9/2024 in #⛅|pods
Create CPU Pod through GraphQL
For anyone searching for this in the future, the GraphQL documentation doesn't seem to be up to date. There is a mutation called deployCpuPod that I couldn't find in the docs and the usual podFindAndDeployOnDemand won't work for CPU-only pods.
13 replies
RRunPod
Created by Pseudoface on 6/9/2024 in #⛅|pods
Create CPU Pod through GraphQL
I didn't even think of that, thanks
13 replies