Open collins-b opened 6 years ago
It is technically feasible, but it's not entirely practical. At least not practical enough for us to want to document it. You should be able to use the sshd inside the GlusterFS containers to do geo-rep. If you haven't seen them already, see how far the main docs get you: https://docs.gluster.org/en/v3/Administrator%20Guide/Geo%20Replication/
Step 10 of https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.2/html/container-native_storage_for_openshift_container_platform/chap-documentation-red_hat_gluster_storage_container_native_with_openshift_platform-gluster_pod_operations mentions: "You can set up Container Native Storage volumes for geo-replication to a non-Container Native Storage remote site." i.e. master can be gluster pods, but slave cannot unless we setup fixed IPs for them (not sure that's a good idea for pods).
Current deployments of containerized GlusterFS use hostNetwork: true
, so they will maintain the IPs of the hosts they're running on which should ideally be stable.
Is it possible to set up geo-replication in glusterfs running in K8s pods? If so, how? I can't see this in the docs.