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

Implement an rsync push mode when source pushes data to destination #263

Open
MurzNN opened this issue Dec 1, 2023 · 3 comments
Open

Implement an rsync push mode when source pushes data to destination #263

MurzNN opened this issue Dec 1, 2023 · 3 comments

Comments

@MurzNN
Copy link

MurzNN commented Dec 1, 2023

Is your feature request related to a problem? Please describe.
When we want to copy data from pv between different clusters, pretty often we have problems getting a public IP on the source cluster, because when it comes to copying data, usually it is not controllable by ourselves, but the new (destination) has more control.

So, it's much easier to achieve a public IP on the destination cluster, than on the source.

But to make the pv-migrate work, the current implementation requires the public IP on the source cluster, not on the destination, so the migration is not possible because of this.

Describe the solution you'd like
To resolve this problem, will be good to implement a "push" mode, that will start the SSH server on the destination side, and push the data from the source pod to the destination, using the same rsync process.

@utkuozdemir
Copy link
Owner

This makes sense, I'll look into implementing it when I find the time.

@zoftdev
Copy link

zoftdev commented Nov 18, 2024

I am considering a temporary solution by reversing the source and destination in both cli param and the rsync configuration to sync files in the opposite direction.

@utkuozdemir
Copy link
Owner

Would you consider making it a permanent solution by submitting a PR? I think it is pretty reasonable to support that.

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

No branches or pull requests

3 participants