mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 06:54:32 +00:00
* Adding in Jekyll site | Adjusting gitignore for Jekyll build | Moving docs to site folder Signed-off-by: Lee Springer <lee@smalltalk.agency> Adding in Jekyll site | Adjusting gitignore for Jekyll build | Moving docs to site folder Signed-off-by: Lee Springer <lee@smalltalk.agency> * Restore main.go to original location Signed-off-by: Lee Springer <lee@smalltalk.agency> * Updates to footer Signed-off-by: Lee Springer <lee@smalltalk.agency> * Updates to homepage links Signed-off-by: Lee Springer <lee@smalltalk.agency> * Content updates Signed-off-by: Lee Springer <lee@smalltalk.agency>
1.6 KiB
1.6 KiB
Run in custom namespace
In Ark version 0.7.0 and later, you can run Ark in any namespace. To do so, you specify the namespace in the YAML files that configure the Ark server. You then also specify the namespace when you run Ark client commands.
Edit the example files
The Ark repository includes a set of examples that you can use to set up your Ark server. The examples specify only the default heptio-ark namespace. To run in another namespace, you edit the relevant files to specify your custom namespace.
For all cloud providers, edit https://github.com/heptio/ark/blob/master/examples/common/00-prereqs.yaml. This file defines:
- CustomResourceDefinitions for the Ark objects (backups, schedules, restores, configs, downloadrequests)
- The Ark namespace
- The Ark service account
- The RBAC rules to grant permissions to the Ark service account
AWS
For AWS, edit:
https://github.com/heptio/ark/blob/master/examples/common/10-deployment.yamlhttps://github.com/heptio/ark/blob/master/examples/aws/00-ark-config.yaml
GCP
For GCP, edit:
https://github.com/heptio/ark/blob/master/examples/common/10-deployment.yamlhttps://github.com/heptio/ark/blob/master/examples/gcp/00-ark-config.yaml
Azure
For Azure, edit:
https://github.com/heptio/ark/blob/master/examples/azure/00-ark-deployment.yamlhttps://github.com/heptio/ark/blob/master/examples/azure/10-ark-config.yaml
Specify the namespace in client commands
To specify the namespace for all Ark client commands, run:
ark client config set namespace=<NAMESPACE_VALUE>