I am setting up elasticsearch cluster on k8s using eck operator. From the document I understood that Heapsize should be no more than 50% of Allocated RAM so passed the details accordingly.
k8 cluster: 3 nodes(4CPU,60GB RAM) - total 16cpu 180gb ram
master nodes: 3(each - 8GB RAM, 4GB Heapsize)
data nodes: 3(each - 16GB RAM, 8GB Heapsize)
I am doing Loadtest on ES so I have below queries.
- Do we need to provide RAM same for both master/data nodes in my case I have provided more RAM to data nodes alone? is this correct?
- should I provide more cpu to datanodes or same for both master & data nodes?