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

Support hostpath volumes to be backed up and restored by restic in order to running / testing / developing in kind cluster. #3053

Closed
VolkerKozlowski opened this issue Nov 4, 2020 · 4 comments

Comments

@VolkerKozlowski
Copy link

Describe the problem/challenge you have
We are running e2e tests inside of a kind cluster. Kind only provides hostpath mounted volumes provisioned by rancher.io/local-path.
Unfortunately velero cannot handle to backup and restore such volumes with restic.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:
Kind kind v0.9.0-alpha
Velero 1.4

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 "The project would be better with this feature added"
  • 👎 for "This feature will not enhance the project in a meaningful way"
@carlisia carlisia added the Needs Product Blocked needing input or feedback from Product label Nov 11, 2020
@jppitout
Copy link

This would definitely help for training and home labs using Kind clusters :)

@nrb nrb added Duplicate Reviewed Q2 2021 and removed Needs Product Blocked needing input or feedback from Product labels May 12, 2021
@nrb
Copy link
Contributor

nrb commented May 12, 2021

I think this is the same problem as #2767; closing as a duplicate.

@nrb nrb closed this as completed May 12, 2021
@jsanda
Copy link

jsanda commented Jun 2, 2022

Why was this considered as a duplicate of #2767? I believe kind stores pod volumes under /var/lib/kubelet/pods.

It doesn't look like there are any labels or annotations added to nodes that would make it easy to identify as part of a kind cluster; however, it would be easy enough to add something.

I am in the same situation as the OP. We use kind extensively for e2e tests. Not being able to use kind for backup/restore will complicate adoption.

Can this issue be reopened?

@Lyndon-Li
Copy link
Contributor

@jsanda The current issue as same as issue 2767, is about to support the non-standard pod volume mount path (the standard one is /var/lib/kubelet/pods). If your current issue is the same as these ones, please follow the same doc https://velero.io/docs/main/restic/#:~:text=to%20date%20information.-,Configure,-Restic%20DaemonSet%20spec to solve the problem. Thanks.

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

6 participants