update-pod
Modify an existing RunPod pod by updating its configuration, including Docker image, disk size, environment variables, ports, and volume settings.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
containerDiskInGb | No | New container disk size in GB | |
env | No | New environment variables | |
imageName | No | New Docker image | |
name | No | New name for the pod | |
podId | Yes | ID of the pod to update | |
ports | No | New ports to expose | |
volumeInGb | No | New volume size in GB | |
volumeMountPath | No | New path to mount the volume |
Input Schema (JSON Schema)
{
"properties": {
"containerDiskInGb": {
"description": "New container disk size in GB",
"type": "number"
},
"env": {
"additionalProperties": {
"type": "string"
},
"description": "New environment variables",
"type": "object"
},
"imageName": {
"description": "New Docker image",
"type": "string"
},
"name": {
"description": "New name for the pod",
"type": "string"
},
"podId": {
"description": "ID of the pod to update",
"type": "string"
},
"ports": {
"description": "New ports to expose",
"items": {
"type": "string"
},
"type": "array"
},
"volumeInGb": {
"description": "New volume size in GB",
"type": "number"
},
"volumeMountPath": {
"description": "New path to mount the volume",
"type": "string"
}
},
"required": [
"podId"
],
"type": "object"
}