Skip to content

Instantly share code, notes, and snippets.

@carlessanagustin
Created April 2, 2019 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlessanagustin/215898e7452ed04d703d28eda34018d6 to your computer and use it in GitHub Desktop.
Save carlessanagustin/215898e7452ed04d703d28eda34018d6 to your computer and use it in GitHub Desktop.
DOCS - Heptio Ark

Heptio Ark

from: https://heptio.github.io/ark/v0.10.0/

Ark gives you tools to back up and restore your Kubernetes cluster resources and persistent volumes.

helm install --name $ARK_NAME -n $ARK_NS --version v1.2.3 -f helm_charts/stable/ark/values.yaml stable/ark

On-premises

  • First, you must select an object storage backend that Ark can use to store backup data

Minio is an option if you want to keep your backup data on-premises and you are not using another storage platform that offers an S3-compatible object storage API.

https://www.minio.io/

helm install --name $MINI_NAME -n $MINI_NS --version v1.9.1 -f helm_charts/stable/minio/values.yaml stable/minio

  • Second, if you need to back up persistent volume data, you must select a volume backup solution.

If there is no native snapshot plugin available for your storage platform, you can use Ark’s restic integration, which provides a platform-agnostic backup solution for volume data.

* https://heptio.github.io/ark/v0.10.0/restic.html
* https://github.com/restic/restic

Commands

  • Create & Restore a backup
ark backup create <backup name> --include-namespaces <[namespace list]>
ark restore create --from-backup <backup name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment