Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adopt Ark to provide backup and DR functionality #121

Closed
danielhartnell opened this issue Dec 31, 2018 · 3 comments
Closed

adopt Ark to provide backup and DR functionality #121

danielhartnell opened this issue Dec 31, 2018 · 3 comments
Assignees

Comments

@danielhartnell
Copy link
Contributor

danielhartnell commented Dec 31, 2018

https://github.com/heptio/ark

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

Take backups of your cluster and restore in case of loss.
Copy cluster resources to other clusters.
Replicate your production environment for development and testing environments.

I did not know that this provided a simple way to copy cluster resources to other clusters. This should be a pretty useful tool for us.

@danielhartnell danielhartnell added this to the Backups and disaster recovery milestone Dec 31, 2018
@the-smooth-operator the-smooth-operator self-assigned this Jan 22, 2019
@the-smooth-operator
Copy link
Contributor

I'm starting to work in this one. What I plan to do:

  • Create with Terraform the AWS resources needed: S3 bucket for the backup, IAM role, IAM policy and trust policy.
  • Create the Kubernetes resources: Ark server, credentials and other configurations.
  • Decide which Namespaces, PV etc have to be backed up.
  • Create an scheduled backup running periodically.
  • Add docs on Managing Ark, Disaster Recovery & Cluster Migration.
  • Finally, together with other stakeholders, test one failure scenario and recovery.

@the-smooth-operator
Copy link
Contributor

Sad note: Ark doesn't currently support encryption-at-rest vmware-tanzu/velero#434
I'll be looking if it's possible to let s3 take care of encrypting all files inside a bucket at rest, and if this doesn't break Ark functionality.

@the-smooth-operator
Copy link
Contributor

While Ark doesn't provide a standard encryption-at-rest solution, it is compatible with AWS KMS. See https://github.com/heptio/ark/blob/master/docs/api-types/backupstoragelocation.md#config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants