-
Hello, I have a multi node k3s cluster with Rancher's local-path volumes. I would like to distribute the content of some volumes to all nodes, but tools like Longhorn are overkill for me. Syncing the volumes, for example, once per day would be enough. I found this tool, but not sure what would be the best option to choose. Is it possible to use Rclone replication without intermediate S3 storage? As I'm syncing just within the cluster. Also copyMethod direct is fine as well. Or maybe Rsync replication (via TLS)? But I don't need TLS and I need 1 to many replication, not just 1 to 1. Syncthing seems to be too complex. ReplicationDestination Volume Populator feature also looks cool. What would be the best way to proceed in my case? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Hi @pschiffe , It sounds like rclone would normally be a good pick for you, but does require some intermediate location to store the files. The advantage is you can have 1 replicationsource to store the data and then run multiple replicationdestinations to pull the data down, to fan it out. I haven't looked into all the available storage providers for rclone, but you could look at running something locally in your cluster (for example we use minio for our dev/testing which provides an s3 compatible store you can run within the cluster). Another option is to use rsync - and we would recommend rsync-tls as this is the newer version of the mover that supports running unprivileged. If you do use rsync you would need a 1-1 replicationsource-to-replicationdestination however. Essentially you'd be pointing each replicationsource to a replicationdestination within your cluster, so you could use a clusterIP service type (this is the default) to do the communication locally. Lastly, syncthing could still be an option, but would normally be something you keep running to keep files in sync live. This would depend on your application itself and how you want to replicate the data. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the overview. This is what I ended up with for small 3 node cluster to distribute mariadb backups from one to all nodes. For bigger clusters I'll probably use rclone.
|
Beta Was this translation helpful? Give feedback.
-
I have one more question. I've noticed that Is the |
Beta Was this translation helpful? Give feedback.
-
Another question 😅 |
Beta Was this translation helpful? Give feedback.
Thank you for the overview. This is what I ended up with for small 3 node cluster to distribute mariadb backups from one to all nodes. For bigger clusters I'll probably use rclone.