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

Create generic solution for backup and restore for Kubernetes #505

Open
pkosiec opened this issue Sep 17, 2021 · 0 comments
Open

Create generic solution for backup and restore for Kubernetes #505

pkosiec opened this issue Sep 17, 2021 · 0 comments
Labels
area/engine Relates to Engine area/hub-manifests Relates to Hub manifests enhancement New feature or request

Comments

@pkosiec
Copy link
Member

pkosiec commented Sep 17, 2021

Description

Create a generic way to back up Kubernetes resources, including Persistent Volumes and k8s objects. Use findings from investigation made in #218.

  1. Install Velero as a part of Capact installation. Make it optional.
  2. Create Velero runner:
    1. Use velero command or K8S API to create Backup/Restore CR objects
    2. Add OCH Manifests(Interface, Implementation and Types)
    3. Agree on where to store backups. Separate MinIO, S3?
  3. Deploy and use as a default new storage provider lcm-localpv
    1. make sure that that all manifests can be still deployed. Users other than root can not access the directory.
  4. Create backup helm-plugin. As a starting point, use https://github.com/capactio/velero-plugin-helm
    1. It should require only helm release name to work
    2. All resources created in Helm charts should be added to a backup
    3. All resources created later, for example PVC also should be added to the backup
  5. Create restore plugin for Capact restore
    1. It should be able to restore Action CR with proper status
    2. It should recreate OwnerReference for a Secret creted for Action

Reason

We should provide backup and restore functionality for Capact and also other Kubernetes-based deployments.

See also

OCF manifests for OpenEBS: capactio/hub-manifests#30

@pkosiec pkosiec added enhancement New feature or request area/engine Relates to Engine area/hub-manifests Relates to Hub manifests labels Sep 17, 2021
@pkosiec pkosiec changed the title Create generic solution for backup and restore Create generic solution for backup and restore for Kubernetes Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Relates to Engine area/hub-manifests Relates to Hub manifests enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant