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

Velero backup but not restore helm charts using release name selector #8561

Closed
masalinas opened this issue Dec 27, 2024 · 2 comments
Closed

Comments

@masalinas
Copy link

masalinas commented Dec 27, 2024

What steps did you take and what happened:

  1. deploy a helm chart
$ helm install poc-k8s-keycloak-angular oci://registry-1.docker.io/ofertoio/poc-k8s-keycloak-angular-chart

The chart is deployed ok

  1. backup a helm chart using release name:
$ velero backup create poc-k8s-keycloak-angular-chart-backup --selector release=poc-k8s-keycloak-angular

The backup is created ok

  1. List your helm installed:
$ helm -n default list

The helm is showed ok.

  1. remove a helm chart:
$ helm delete poc-k8s-keycloak-angular-chart

The chart is removed ok.

  1. restore the helm chart
$ velero restore create --from-backup poc-k8s-keycloak-angular-chart-backup

The restore not deploy any helm resource

$ helm -n default list

My original helm chart is not showed

What did you expect to happen:
Restore all chart resources and the labels attached to helm and continue using these resources as a original helm chart.

The following information will help us better understand what's going on:

I followed this tutorial without success. Following the tutorial with wordpress it doesn't work either

https://docs.vmware.com/en/VMware-Tanzu-Application-Catalog/services/tutorials/GUID-backup-restore-deployments-velero-index.html

Environment:

  • Helm version: v.3.16.4
  • Velero version (use velero version): 1.15.0
  • Velero features (use velero client config get features): Plugin AWS 1.11.0 compatible with velero 1.15.0
  • Kubernetes version (use kubectl version): 1.27.4
  • Kubernetes installer & version: minikube 1.31.2
  • Cloud provider or hardware configuration: localhost
  • OS (e.g. from /etc/os-release): ubuntu 24.04 LTS

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

  • 👍 for "I would like to see this bug fixed as soon as possible"
  • 👎 for "There are more important bugs to focus on right now"
@masalinas masalinas changed the title Velero don't backup and restore helm chart using release Velero don't backup and restore helm chart using release name Dec 27, 2024
@masalinas masalinas changed the title Velero don't backup and restore helm chart using release name Velero backup but not restore helm chart using release name Dec 27, 2024
@masalinas masalinas changed the title Velero backup but not restore helm chart using release name Velero backup but not restore helm charts using release name selector Dec 27, 2024
@blackpiglet
Copy link
Contributor

Please collect the debug bundle and upload it here to help investigate.
The CLI is velero debug.

@masalinas
Copy link
Author

I will continue the discussion in the task #8560

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

No branches or pull requests

2 participants