Documentation for version v0.9.0 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
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.
The Ark repository includes
a set of examples that you can use to set up your Ark server. The
examples place the server and backup/schedule/restore/config data in the heptio-ark
namespace.
To run the server in another namespace, you edit the relevant files, changing heptio-ark
to
your desired namespace.
To store your backups, schedules, restores, and config in another namespace, you edit the relevant
files, changing heptio-ark
to your desired namespace. You also need to create the
cloud-credentials
secret in your desired namespace.
For all cloud providers, edit https://github.com/heptio/ark/blob/main/examples/common/00-prereqs.yaml
. This file defines:
For AWS, edit:
https://github.com/heptio/ark/blob/main/examples/aws/10-deployment.yaml
https://github.com/heptio/ark/blob/main/examples/aws/00-ark-config.yaml
For GCP, edit:
https://github.com/heptio/ark/blob/main/examples/gcp/10-deployment.yaml
https://github.com/heptio/ark/blob/main/examples/gcp/00-ark-config.yaml
For Azure, edit:
https://github.com/heptio/ark/blob/main/examples/azure/00-ark-deployment.yaml
https://github.com/heptio/ark/blob/main/examples/azure/10-ark-config.yaml
For IBM, edit:
https://github.com/heptio/ark/blob/main/examples/ibm/10-deployment.yaml
https://github.com/heptio/ark/blob/main/examples/ibm/00-ark-config.yaml
To specify the namespace for all Ark client commands, run:
ark client config set namespace=<NAMESPACE_VALUE>
To help you get started, see the documentation.