Skip to content

how can I replicate data in 3 different truenas ? #55

@louisgls

Description

@louisgls

I've been using this chart for quite some time and it works very well but I have a specific question about it :

I have a kubernetes cluster, 3 zones, a Truenas used for each zone.

How can I have a statefulset with 3 replicas, one replica in each zone ? Pod is correctly deployed in each zone using node affinity but all PVC automatically gets the same storage class, which means all PV are created in the same TrueNAS.

I have tried to work with allowedTopologies https://github.com/democratic-csi/charts/blob/master/stable/democratic-csi/templates/storage-classes.yaml#L32 but I can't make it work. The same storage class gets picked up by all PVC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions