create-pod
Provision a GPU or CPU pod on RunPod. Configure image, GPU type, storage, ports, and environment variables for compute workloads.
Instructions
Create a new GPU/CPU pod on RunPod. If the user does not specify an image, recommend the "Runpod Pytorch 2.8.0" image (runpod/pytorch:1.0.2-cu1281-torch280-ubuntu2404) as the default — it has the most up-to-date CUDA and PyTorch versions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the pod | |
| imageName | Yes | Docker image to use | |
| cloudType | No | SECURE or COMMUNITY cloud | |
| gpuTypeIds | No | List of acceptable GPU types | |
| gpuCount | No | Number of GPUs | |
| containerDiskInGb | No | Container disk size in GB | |
| volumeInGb | No | Volume size in GB | |
| volumeMountPath | No | Path to mount the volume | |
| ports | No | Ports to expose (e.g., '8888/http', '22/tcp') | |
| env | No | Environment variables | |
| dataCenterIds | No | List of data centers |