skypilot_volume_apply
Create or register a cloud volume by name and type, such as k8s-pvc or runpod-network-volume, with an optional size, infra, and labels. Returns a request_id to track the volume provisioning.
Instructions
Create or register a volume. Accepts a volume configuration as a JSON/dict with fields: name, type ('k8s-pvc' or 'runpod-network-volume'), size (e.g. '100GB'), and optional fields like infra, labels, use_existing, config. Returns a request_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| size | No | ||
| infra | No | ||
| config | No | ||
| labels | No | ||
| volume_type | Yes | ||
| use_existing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |