severalnines / galera-docker-mariadb

96 stars 89 forks source link

How can I control which pod of the 3 Pods volume the first pvc? #9

Closed ddy86 closed 6 years ago

ddy86 commented 6 years ago

In kubernetes, if not utilizing a storage class on AWS, and with StatefulSet with persistent storage, start with creating the PVs and PVCs, it creates 3 PVs and 3PVCs, how can I control which pod of the 3 Pods volume the first pvc? Use openEBS or nfs storage class is recommend.