Pods
Create Pod
POST /v2/pods{
"name": "my-pod",
"regions": ["us-east-1", "us-west-1"],
"image": "pytorch/pytorch:2.0.0-cuda11.7-cudnn8-runtime",
"containerRegistryAuthId": 123,
"gpuType": "NVIDIA_RTX_4090_24G",
"gpuCount": 1,
"minSingleCardVramInGb": 24,
"minSingleCardRamInGb": 32,
"minSingleCardVcpu": 8,
"containerVolumeInGb": 50,
"persistentVolumeInGb": 100,
"persistentMountPath": "/mnt/data",
"initializationCommand": "pip install -r requirements.txt",
"environmentVars": [
{ "key": "API_KEY", "value": "secret" }
],
"expose": [
{ "port": 8080, "protocol": "http" }
],
"persistentVolumes": [
{
"volumeId": 123,
"mountPath": "/mnt/volume",
"needBackup": false
}
]
}Get Pod by ID
List Pods
Delete Pod
Pod Actions
Last updated
Was this helpful?