Documentation for version v0.7.1 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
To run Ark with your cloud provider, you specify provider-specific settings for the Ark server. In version 0.7.0 and later, you can run Ark in any namespace, which requires additional customization. See Run in custom namespace.
The Ark repository includes a set of example YAML files that specify the settings for each cloud provider. For provider-specific instructions, see:
After you set up the Ark server, try these examples:
Start the sample nginx app:
kubectl apply -f examples/nginx-app/base.yaml
Create a backup:
ark backup create nginx-backup --include-namespaces nginx-example
Simulate a disaster:
kubectl delete namespaces nginx-example
Wait for the namespace to be deleted.
Restore your lost resources:
ark restore create nginx-backup
NOTE: For Azure, your Kubernetes cluster needs to be version 1.7.2+ to support PV snapshotting of its managed disks.
Start the sample nginx app:
kubectl apply -f examples/nginx-app/with-pv.yaml
Create a backup with PV snapshotting:
ark backup create nginx-backup --include-namespaces nginx-example
Simulate a disaster:
kubectl delete namespaces nginx-example
Because the default reclaim policy for dynamically-provisioned PVs is “Delete”, these commands should trigger your cloud provider to delete the disk backing the PV. The deletion process is asynchronous so this may take some time. Before continuing to the next step, check your cloud provider to confirm that the disk no longer exists.
Restore your lost resources:
ark restore create nginx-backup
To help you get started, see the documentation.