Create PersistentVolume for volume
volume_pv_createCreate a Kubernetes PersistentVolume backed by a Longhorn volume, specifying storage class, filesystem type, and optional secret for access.
Instructions
Create a Kubernetes PersistentVolume backed by this Longhorn volume. Longhorn docs: https://longhorn.io/docs/1.12.1/nodes-and-volumes/volumes/create-volumes/
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "volume_pv_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fsType | No | ||
| pvName | No | ||
| secretName | No | ||
| secretNamespace | No | ||
| storageClassName | No |