[incubator/Elasticsearch] Allow for enabling monitoring for 6.3+ (#7981)

* [incubator/elasicsearch] enable monitoring for 6.3+ systems

Signed-off-by: Adam Wilhelm <ajwilhel@gmail.com>

* [incubator/elasicsearch] enable monitoring for 6.3+ systems

Signed-off-by: Adam Wilhelm <ajwilhel@gmail.com>

* version bump

Signed-off-by: Adam Wilhelm <ajwilhel@gmail.com>

* add back tpl lines

Signed-off-by: Adam Wilhelm <ajwilhel@gmail.com>
This commit is contained in:
Adam Wilhelm
2018-09-26 11:19:05 -07:00
committed by k8s-ci-robot
parent c368876392
commit 9bf7799e7f
3 changed files with 19 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: elasticsearch
home: https://www.elastic.co/products/elasticsearch
version: 1.8.0
version: 1.8.1
appVersion: 6.4.1
description: Flexible and powerful open source, distributed real-time search and analytics
engine.
+13
View File
@@ -167,6 +167,19 @@ Elasticsearch v5 terminology has updated, and now refers to a `Client Node` as a
More info: https://www.elastic.co/guide/en/elasticsearch/reference/5.5/modules-node.html#coordinating-node
## Enabling elasticsearch interal monitoring
Requires version 6.3+ and standard non `oss` repository defined. Starting with 6.3 Xpack is partially free and enabled by default. You need to set a new config to enable the collection of these internal metrics. (https://www.elastic.co/guide/en/elasticsearch/reference/6.3/monitoring-settings.html)
To do this through this helm chart override with the three following changes:
```
image.repository: docker.elastic.co/elasticsearch/elasticsearch
cluster.xpackEnable: true
cluster.env.XPACK_MONITORING_ENABLED: true
```
Note: to see these changes you will need to update your kibana repo to `image.repository: docker.elastic.co/kibana/kibana` instead of the `oss` version
## Select right storage class for SSD volumes
### GCE + Kubernetes 1.5
@@ -55,7 +55,11 @@ data:
ping.unicast.hosts: ${DISCOVERY_SERVICE:}
minimum_master_nodes: ${MINIMUM_MASTER_NODES:2}
{{- if .Values.cluster.xpackEnable }}
{{- if (.Values.cluster.xpackEnable) and .Values.appVersion gt 6.3 }}
# see https://www.elastic.co/guide/en/x-pack/current/xpack-settings.html
# After 6.3 xpack systems changed and are enabled by default and different configs manage them this enables monitoring
xpack.monitoring.collection.enabled: ${XPACK_MONITORING_ENABLED:false}
{{- else if .Values.cluster.xpackEnable }}
# see https://www.elastic.co/guide/en/x-pack/current/xpack-settings.html
xpack.ml.enabled: ${XPACK_ML_ENABLED:false}
xpack.monitoring.enabled: ${XPACK_MONITORING_ENABLED:false}