Files
velero/site/docs/master/namespace.md
T
Carlisia 8859766b5d Code reviews
Signed-off-by: Carlisia <carlisia@vmware.com>
2020-02-04 12:27:47 -08:00

20 lines
837 B
Markdown

# Run in a non-default namespace
The Velero installation and backups by default are run in the `velero` namespace. However, it is possible to use a different namespace.
### 1) Customize the namespace during install
Use the `--namespace` flag, in conjunction with the other flags in the `velero install` command (as shown in the [the Velero install instructions][0]). This will inform Velero where to install.
### 2) Customize the namespace for operational commands
To have namespace consistency, specify the namespace for all Velero operational commands to be the same as the namespace used to install Velero:
```bash
velero client config set namespace=<NAMESPACE_VALUE>
```
Alternatively, you may use the global `--namespace` flag with any operational command to tell Velero where to run.
[0]: basic-install.md#install-the-cli