canasta storage setup nfs
From Canasta Wiki
canasta > storage > storage setup > nfs
canasta storage setup nfs
Set up NFS shared storage for Kubernetes
Synopsis
Install the NFS CSI driver and create a StorageClass for shared storage on Kubernetes clusters. Optionally install an NFS server on the target host. After setup, set persistence.*.storageClass in values.yaml to use it.
canasta storage setup nfs [flags]
Examples
canasta storage setup nfs --server 192.168.1.10 --share /srv/nfs/canasta
canasta storage setup nfs --install-server --share /srv/nfs/canasta
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--install-server |
Install NFS server on the target host | Both | |||
--server |
NFS server IP or hostname | Both | |||
--share |
NFS export path (e.g. /srv/nfs/canasta) | ✓ | Both | ||
--storage-class-name |
Name for the Kubernetes StorageClass | nfs |
Both |
Global Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--help |
-h |
Show help message and exit | Both | ||
--verbose |
-v |
Enable verbose output | Both |