Yes, they are.
This is in the deployment of my master node:
volumeMounts:
...
- mountPath: /data
name: elasticsearch-master-pvc
...
volumes:
...
- name: elasticsearch-master-pvc
persistentVolumeClaim:
claimName: elasticsearch-master-pvc
...
And this is in the statefulset of my data nodes:
volumeMounts:
...
- mountPath: /data/db
name: elasticsearch-data
...
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
storageClassName: glusterfs-replication-none
volumeMode: Filesystem
Is this okay?