utkuozdemir / pv-migrate

CLI tool to easily migrate Kubernetes persistent volumes
Apache License 2.0
1.63k stars 82 forks source link

Tailscale strategy #219

Open utkuozdemir opened 1 year ago

utkuozdemir commented 1 year ago

Add a new strategy: tailscale

User provides a tailscale api key or sth like that. We run sidecars on each side and use tailscale network to do the rsync. This way we might be able to get through the most difficult network setups.

CaelFrost commented 2 months ago

One way to dip a toe in on this goal might be allowing loadBalancerClass: tailscale

to be added to the svc and then having the tailscale operator do the work of assigning the ip to the load balancer service.

https://leebriggs.co.uk/blog/2024/02/26/cheap-kubernetes-loadbalancers

i followed this guide, while attempting to use it for pv-migrate, but sadly wasnt able to complete it because the spec.loadBalancerClass property is immutable, and i was unable to find a way to influence how pv-migrate creates it.

utkuozdemir commented 2 months ago

Ah, this is a great idea, it just needs the setup on the cluster to support that (have the operator).

As I remember there is no way to override loadBalancerClass atm, but it can be added without too much trouble I believe (as a helm value).