Assuming I want to make 1 nodeSet of 2-role nodes masters/data and 1 nodeSet with data nodes as follows:
- name: master
config:
node.roles: ["master", "data"]
count: 3
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 150Gi
storageClassName: balanced-rwo
- name: data
config:
node.roles: ["data"]
count: 3
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 150Gi
storageClassName: balanced-rwo
Does the value of the field volumeClaimTemplates.metadata.name (elasticsearch-data in this example) has to be the same in the 2 nodeSets? (assuming of course we want the same data in all of them)