Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.