Merge "Elasticsearch: Heap configuration and ingest node updates"

This commit is contained in:
Zuul 2019-05-09 21:10:26 +00:00 committed by Gerrit Code Review
commit ead842d1d8
6 changed files with 22 additions and 12 deletions

View File

@ -176,6 +176,8 @@ spec:
fieldPath: metadata.name fieldPath: metadata.name
- name: NODE_MASTER - name: NODE_MASTER
value: "false" value: "false"
- name: NODE_INGEST
value: "false"
- name: NODE_DATA - name: NODE_DATA
value: "false" value: "false"
- name: HTTP_ENABLE - name: HTTP_ENABLE
@ -183,9 +185,7 @@ spec:
- name: DISCOVERY_SERVICE - name: DISCOVERY_SERVICE
value: {{ tuple "elasticsearch" "discovery" $envAll | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }} value: {{ tuple "elasticsearch" "discovery" $envAll | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
- name: ES_JAVA_OPTS - name: ES_JAVA_OPTS
value: "{{ .Values.conf.elasticsearch.env.java_opts }}" value: "{{ .Values.conf.elasticsearch.env.java_opts.client }}"
- name: ES_PLUGINS_INSTALL
value: "elasticsearch-s3"
volumeMounts: volumeMounts:
- name: pod-tmp - name: pod-tmp
mountPath: /tmp mountPath: /tmp

View File

@ -131,6 +131,8 @@ spec:
fieldPath: metadata.name fieldPath: metadata.name
- name: NODE_MASTER - name: NODE_MASTER
value: "true" value: "true"
- name: NODE_INGEST
value: "false"
- name: NODE_DATA - name: NODE_DATA
value: "false" value: "false"
- name: HTTP_ENABLE - name: HTTP_ENABLE
@ -138,9 +140,7 @@ spec:
- name: DISCOVERY_SERVICE - name: DISCOVERY_SERVICE
value: {{ tuple "elasticsearch" "discovery" $envAll | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }} value: {{ tuple "elasticsearch" "discovery" $envAll | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
- name: ES_JAVA_OPTS - name: ES_JAVA_OPTS
value: "{{ .Values.conf.elasticsearch.env.java_opts }}" value: "{{ .Values.conf.elasticsearch.env.java_opts.master }}"
- name: ES_PLUGINS_INSTALL
value: "elasticsearch-s3"
volumeMounts: volumeMounts:
- name: pod-tmp - name: pod-tmp
mountPath: /tmp mountPath: /tmp

View File

@ -131,16 +131,16 @@ spec:
fieldPath: metadata.name fieldPath: metadata.name
- name: NODE_MASTER - name: NODE_MASTER
value: "false" value: "false"
- name: NODE_INGEST
value: "false"
- name: NODE_DATA - name: NODE_DATA
value: "true" value: "true"
- name: HTTP_ENABLE - name: HTTP_ENABLE
value: "false" value: "false"
- name: ES_JAVA_OPTS - name: ES_JAVA_OPTS
value: "{{ .Values.conf.elasticsearch.env.java_opts }}" value: "{{ .Values.conf.elasticsearch.env.java_opts.data }}"
- name: DISCOVERY_SERVICE - name: DISCOVERY_SERVICE
value: {{ tuple "elasticsearch" "discovery" $envAll | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }} value: {{ tuple "elasticsearch" "discovery" $envAll | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
- name: ES_PLUGINS_INSTALL
value: "elasticsearch-s3"
volumeMounts: volumeMounts:
- name: pod-tmp - name: pod-tmp
mountPath: /tmp mountPath: /tmp

View File

@ -601,6 +601,7 @@ conf:
# lookups # lookups
endpoint: null endpoint: null
node: node:
ingest: ${NODE_INGEST}
master: ${NODE_MASTER} master: ${NODE_MASTER}
data: ${NODE_DATA} data: ${NODE_DATA}
name: ${NODE_NAME} name: ${NODE_NAME}
@ -618,7 +619,10 @@ conf:
logstash: logstash:
name: logstash_snapshots name: logstash_snapshots
env: env:
java_opts: "-Xms256m -Xmx256m" java_opts:
client: "-Xms256m -Xmx256m"
data: "-Xms256m -Xmx256m"
master: "-Xms256m -Xmx256m"
prometheus_elasticsearch_exporter: prometheus_elasticsearch_exporter:
es: es:
all: true all: true

View File

@ -322,7 +322,10 @@ data:
conf: conf:
elasticsearch: elasticsearch:
env: env:
java_opts: "-Xms512m -Xmx512m" java_opts:
client: "-Xms512m -Xmx512m"
data: "-Xms512m -Xmx512m"
master: "-Xms512m -Xmx512m"
snapshots: snapshots:
enabled: true enabled: true
source: source:

View File

@ -28,7 +28,10 @@ pod:
conf: conf:
elasticsearch: elasticsearch:
env: env:
java_opts: "-Xms512m -Xmx512m" java_opts:
client: "-Xms512m -Xmx512m"
data: "-Xms512m -Xmx512m"
master: "-Xms512m -Xmx512m"
snapshots: snapshots:
enabled: true enabled: true
curator: curator: