Install the Velero CLI
Although installing the Velero command-line interface is optional and independent of deploying a DKP cluster, having access to the command-line interface provides several benefits. For example, you can use the Velero command-line interface to back up or restore a cluster on demand, or to modify certain settings without changing the Velero configuration.
By default, DKP sets up Velero to use Rook Ceph over TLS using a self-signed certificate.
As a result, when using certain commands, you may be asked to use the
--insecure-skip-tls-verify
flag.
Again, the default setup is not suitable for production use-cases.
See the instructions to install the Velero command-line interface for more information.
IMPORTANT: The version of Velero that is shipped in DKP v2.4 is v1.9.2. We recommend using the same version for the Velero CLI.
In DKP, the Velero platform application is installed in the kommander
namespace, instead of velero
. Thus, after installing the CLI, we recommend that you set the Velero CLI namespace
config option so that subsequent Velero CLI invocations will use the correct namespace:
velero client config set namespace=kommander