Kubernetes - Persistent Volumes?

About to try our XtraDB cluster on Kubernetes. Plan to deploy using the helm charts. I might have missed it, but I don’t see anything about persistent volumes? Anything I should be aware of here?

1 Like

Hello @Henrik_Pedersen ,

by default we use persistent volume claims.
If you look in the Custom Resource manifest (cr.yaml) note volumeSpec section:

    volumeSpec:
#      emptyDir: {}
#      hostPath:
#        path: /data
#        type: Directory
      persistentVolumeClaim:
#        storageClassName: standard
#        accessModes: [ "ReadWriteOnce" ]
        resources:
          requests:
            storage: 6G

For helm chart check out pxc.persistence in the chart itself.

1 Like

Thanks! Will deploy now.

1 Like