create-pod
Deploys a GPU-enabled container pod on RunPod infrastructure by specifying Docker image, GPU requirements, storage, and network settings to run compute workloads.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cloudType | No | SECURE or COMMUNITY cloud | |
containerDiskInGb | No | Container disk size in GB | |
dataCenterIds | No | List of data centers | |
env | No | Environment variables | |
gpuCount | No | Number of GPUs | |
gpuTypeIds | No | List of acceptable GPU types | |
imageName | Yes | Docker image to use | |
name | No | Name for the pod | |
ports | No | Ports to expose (e.g., '8888/http', '22/tcp') | |
volumeInGb | No | Volume size in GB | |
volumeMountPath | No | Path to mount the volume |
Input Schema (JSON Schema)
{
"properties": {
"cloudType": {
"description": "SECURE or COMMUNITY cloud",
"enum": [
"SECURE",
"COMMUNITY"
],
"type": "string"
},
"containerDiskInGb": {
"description": "Container disk size in GB",
"type": "number"
},
"dataCenterIds": {
"description": "List of data centers",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"additionalProperties": {
"type": "string"
},
"description": "Environment variables",
"type": "object"
},
"gpuCount": {
"description": "Number of GPUs",
"type": "number"
},
"gpuTypeIds": {
"description": "List of acceptable GPU types",
"items": {
"type": "string"
},
"type": "array"
},
"imageName": {
"description": "Docker image to use",
"type": "string"
},
"name": {
"description": "Name for the pod",
"type": "string"
},
"ports": {
"description": "Ports to expose (e.g., '8888/http', '22/tcp')",
"items": {
"type": "string"
},
"type": "array"
},
"volumeInGb": {
"description": "Volume size in GB",
"type": "number"
},
"volumeMountPath": {
"description": "Path to mount the volume",
"type": "string"
}
},
"required": [
"imageName"
],
"type": "object"
}