-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 deployment name selector #8560
Comments
I discovered a way to backup the chart:
This command backup all resources and the helm secret attached to our resources . This is the best way to backup charts? |
If you need to filter resources with multiple labels, and the relation between those labels are |
This ticket try to resolve the same task: backup charts in kubernetes:
Finally I discovered that using a --or-selector explained in this thread, it is possible backup the chart resources and the chart metadata at the same time, but this is the best way to do that?. I considere that use charts nowadays in kubernetes is an standard way to deploy your services, so I would like to know the best way to make backups using velero. Yes I will close the ticket #8561 and continue with this one. This is the debug bundle from my cluster: |
What steps did you take and what happened:
The chart is deployed ok
The backup is created ok
The helm is showed ok.
The chart is removed ok.
All chart resources (deployment, pod and service) are restores ok, but the helm labels not, so when you execute again
My original helm chart is not showed
What did you expect to happen:
Restore all chart resources and the labels atatched 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 noticed that velero not restore the metadata labels attached to helm like these ones:
Environment:
velero version
): 1.15.0velero client config get features
): Plugin AWS 1.11.0 compatible with velero 1.15.0kubectl version
): 1.27.4/etc/os-release
): ubuntu 24.04 LTSVote 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.
The text was updated successfully, but these errors were encountered: