Skip to main content

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
FlagTypeDescription
-h, --helphelp for configure-nfs
-n, --namespacestringthe namespace of the admin console (required)
--nfs-serverstringthe hostname or IP address of the NFS server (required)
--nfs-pathstringthe path that is exported by the NFS server (required)
--kotsadm-namespacestringset to override the namespace of kotsadm images. used for airgapped installations.
--kotsadm-registrystringset to override the registry of kotsadm images. used for airgapped installations.
--registry-passwordstringpassword to use to authenticate with the provided registry. used for airgapped installations.
--registry-usernamestringusername to use to authenticate with the provided registry. used for airgapped installations.
--force-resetboolbypass the reset prompt and force resetting the nfs path. (default false)
--outputstringoutput 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 \
--kotsadm-namespace kots-sentry \
--registry-username ro-username \
--registry-password ro-password