velero configure-nfs
Configures snapshots to use NFS as storage destination.
Usage
kubectl kots velero configure-nfs [flags]
- Provide
[flags]
according to the table below
Flag | Type | Description |
-h, --help | Help for the command. | |
-n, --namespace | string | The namespace of the Admin Console (required) |
--nfs-server | string | The hostname or IP address of the NFS server (required) |
--nfs-path | string | The path that is exported by the NFS server (required) |
--kotsadm-namespace | string | Set to override the registry namespace of KOTS Admin Console images. Used for air gap installations. For more information, see Air Gap Installation in Existing Clusters. Note: Replicated recommends that you use |
--kotsadm-registry | string | Set to override the registry hostname and namespace of KOTS Admin Console images. Used for air gap installations. For more information, see Air Gap Installation in Existing Clusters. |
--registry-password | string | Password to use to authenticate with the application registry. Used for air gap installations. |
--registry-username | string | Username to use to authenticate with the application registry. Used for air gap installations. |
--force-reset | bool | Bypass the reset prompt and force resetting the nfs path. (default false ) |
--output | string | Output format. Supported values: json |
Examples
Basic
kubectl kots velero configure-nfs --nfs-server 10.128.0.32 --nfs-path /mnt/nfs_share --namespace kots-sentry
Using a registry for airgapped installations
kubectl kots velero configure-nfs \
--nfs-server 10.128.0.32 \
--nfs-path /mnt/nfs_share \
--namespace kots-sentry \
--kotsadm-registry private.registry.host/kots-sentry \
--registry-username ro-username \
--registry-password ro-password