SynologyOpenSource / synology-csi

Apache License 2.0
499 stars 107 forks source link

Recommended architecture for dual zone #81

Open hdiass opened 6 months ago

hdiass commented 6 months ago

I have a cluster that spans to 2 zones. Whats the recommended setup for the csi assuming we don't want to depend on the network link between the 2 zones?

Assuming we have 2 synology's storage servers on each zone. We deploy a statefulset with 2 replicas if pod-0 is scheduled on zone-a it deploys the volume on storage server on zone-a and the pod-1 scheduled on zone-b deploys the pvc on zone-b storage server ? It needs to use same storageclass (you can't use different storage classes for statefulsets for PVC Templates for example).

I guess that for this the csi needs to be zone-aware, question is if it is ?

Thanks for support,