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

Backing up an remote cluster #7843

Open
schegi opened this issue May 30, 2024 · 4 comments
Open

Backing up an remote cluster #7843

schegi opened this issue May 30, 2024 · 4 comments
Labels
Icebox We see the value, but it is not slated for the next couple releases. kind/requirement

Comments

@schegi
Copy link

schegi commented May 30, 2024

I would like to run the velero pod in a different cluster that the 'target' cluster we want to back up. Referring to these resources, this should be generally possible, cf. #1751 or https://velero.io/docs/v1.4/run-locally/. But to my understanding with the limitation that the velero pod will still watches for velero CRs (backup location and schedules and stuff) in the target cluster.

Is there support to configure the velero pod/deployment in a way that i looks for it's relevant CRs in the cluster the pod is deployed to, but actually backs up a remote cluster. I think this could be achieved by an option telling the pod to watch locally and to use the passed kubeconfig to connect to the target cluster, or by just providing two different kubeconfigs (operation and target cluster).

@kaovilai
Copy link
Member

looks for it's relevant CRs in the cluster the pod is deployed to, but actually backs up a remote cluster.

Don't think that is possible at this time.

@sseago
Copy link
Collaborator

sseago commented May 30, 2024

This is not currently supported. In addition, this would be significantly more difficult to implement for volume backup since the node agent pod needs to be running on the same node as the pod mounting the volume being copied, otherwise it won't have access to the mount point.

@blackpiglet blackpiglet added Icebox We see the value, but it is not slated for the next couple releases. kind/requirement labels May 31, 2024
@nikotih
Copy link

nikotih commented Dec 12, 2024

+1 for this feature. Our use case is similar dual cluster

  • operator cluster which runs velero
  • data workerless cluster (without nodes) that has CRs we want to backup
  • we dont need volume backups

Would be great if this use case is supported

@nweisenauer-sap
Copy link

It would be cool to see this happen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Icebox We see the value, but it is not slated for the next couple releases. kind/requirement
Projects
None yet
Development

No branches or pull requests

6 participants