pires / kubernetes-elasticsearch-cluster

Elasticsearch cluster on top of Kubernetes made easy.
Apache License 2.0
1.51k stars 687 forks source link

Sources would help so much #186

Open erikbsap opened 6 years ago

erikbsap commented 6 years ago

Hi,

I'm very thankful that you provided this repository. It's a really good starting point. It would be good to know from where some of the info comes, though. For instance the distinction of separate elastic pod types, you probably took that from some documentation page, or learned that in a meet-up or something. Could you reference from where that comes?

Another example: We are trying to reduce privileged pods at the moments, so it would be really good if I could point to your repo and your repo would point to wherever the info comes from that it needs privileged to initialize.

What do you think about it?

pires commented 6 years ago

https://www.elastic.co/guide/en/elasticsearch/reference/6.2/modules-node.html

By default a node is a master-eligible node and a data node, plus it can pre-process documents through ingest pipelines. This is very convenient for small clusters but, as the cluster grows, it becomes important to consider separating dedicated master-eligible nodes from dedicated data nodes.

pires commented 6 years ago

If you look at the pod descriptors, you'll understand why it needs to be run in privileged mode. Maybe you can find enough CAP_ to deliver the same functionality and open a PR? 😃