Create volume
volume_createCreate a Longhorn volume with specified name, size, and replica count to provision persistent storage for Kubernetes workloads.
Instructions
Create a new Longhorn volume. Longhorn docs: https://longhorn.io/docs/1.12.1/nodes-and-volumes/volumes/create-volumes/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| size | Yes | Bytes, or a size string like "10Gi". | |
| extra | No | Additional Longhorn fields not covered by the named parameters above, merged verbatim into the request body. | |
| frontend | No | e.g. "blockdev" or "iscsi". | |
| accessMode | No | "rwo" or "rwx". | |
| fromBackup | No | Backup URL to restore from. | |
| backingImage | No | ||
| dataLocality | No | ||
| diskSelector | No | ||
| nodeSelector | No | ||
| numberOfReplicas | Yes | ||
| staleReplicaTimeout | No |