Hi,
I wanted to create PVC (Persistence volume claim) for data node alone. For Master node and Kibana we are planning to have local/Network attached SSD. How do we create YAML file for such configuration, I have attached my YAML file for your reference, Kindly let me know if anyone has configured the same.
Thanks.
kind: Elasticsearch
metadata:
name: Quickstart
spec:
version: 8.3.1
nodeSets:
- name: master-nodes
count: 1
config:
node.roles: ["master"]
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 16Gi
storageClassName: standard
podTemplate:
spec:
containers:
- name: elasticsearch
resources:
requests:
memory: 8Gi
cpu: 2
limits:
memory: 8Gi
- name: data-nodes
count: 1
config:
node.roles: ["data"]
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 128Gi
storageClassName: standard
podTemplate:
spec:
containers:
- name: elasticsearch
resources:
requests:
memory: 16Gi
cpu: 4
limits:
memory: 16Gi
- name: client-nodes
count: 1
config:
node.roles: []
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 64Gi
storageClassName: standard
podTemplate:
spec:
containers:
- name: elasticsearch
resources:
requests:
memory: 8Gi
cpu: 4
limits:
memory: 8Gi
- name: ml-nodes
count: 1
config:
node.roles: ["ml"]
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 64Gi
storageClassName: standard
podTemplate:
spec:
containers:
- name: elasticsearch
resources:
requests:
memory: 8Gi
cpu: 4
limits:
memory: 8Gi