Merge "Elasticsearch: Heap configuration and ingest node updates"
This commit is contained in:
commit
ead842d1d8
@ -176,6 +176,8 @@ spec:
|
||||
fieldPath: metadata.name
|
||||
- name: NODE_MASTER
|
||||
value: "false"
|
||||
- name: NODE_INGEST
|
||||
value: "false"
|
||||
- name: NODE_DATA
|
||||
value: "false"
|
||||
- name: HTTP_ENABLE
|
||||
@ -183,9 +185,7 @@ spec:
|
||||
- name: DISCOVERY_SERVICE
|
||||
value: {{ tuple "elasticsearch" "discovery" $envAll | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||
- name: ES_JAVA_OPTS
|
||||
value: "{{ .Values.conf.elasticsearch.env.java_opts }}"
|
||||
- name: ES_PLUGINS_INSTALL
|
||||
value: "elasticsearch-s3"
|
||||
value: "{{ .Values.conf.elasticsearch.env.java_opts.client }}"
|
||||
volumeMounts:
|
||||
- name: pod-tmp
|
||||
mountPath: /tmp
|
||||
|
@ -131,6 +131,8 @@ spec:
|
||||
fieldPath: metadata.name
|
||||
- name: NODE_MASTER
|
||||
value: "true"
|
||||
- name: NODE_INGEST
|
||||
value: "false"
|
||||
- name: NODE_DATA
|
||||
value: "false"
|
||||
- name: HTTP_ENABLE
|
||||
@ -138,9 +140,7 @@ spec:
|
||||
- name: DISCOVERY_SERVICE
|
||||
value: {{ tuple "elasticsearch" "discovery" $envAll | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||
- name: ES_JAVA_OPTS
|
||||
value: "{{ .Values.conf.elasticsearch.env.java_opts }}"
|
||||
- name: ES_PLUGINS_INSTALL
|
||||
value: "elasticsearch-s3"
|
||||
value: "{{ .Values.conf.elasticsearch.env.java_opts.master }}"
|
||||
volumeMounts:
|
||||
- name: pod-tmp
|
||||
mountPath: /tmp
|
||||
|
@ -131,16 +131,16 @@ spec:
|
||||
fieldPath: metadata.name
|
||||
- name: NODE_MASTER
|
||||
value: "false"
|
||||
- name: NODE_INGEST
|
||||
value: "false"
|
||||
- name: NODE_DATA
|
||||
value: "true"
|
||||
- name: HTTP_ENABLE
|
||||
value: "false"
|
||||
- name: ES_JAVA_OPTS
|
||||
value: "{{ .Values.conf.elasticsearch.env.java_opts }}"
|
||||
value: "{{ .Values.conf.elasticsearch.env.java_opts.data }}"
|
||||
- name: DISCOVERY_SERVICE
|
||||
value: {{ tuple "elasticsearch" "discovery" $envAll | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||
- name: ES_PLUGINS_INSTALL
|
||||
value: "elasticsearch-s3"
|
||||
volumeMounts:
|
||||
- name: pod-tmp
|
||||
mountPath: /tmp
|
||||
|
@ -601,6 +601,7 @@ conf:
|
||||
# lookups
|
||||
endpoint: null
|
||||
node:
|
||||
ingest: ${NODE_INGEST}
|
||||
master: ${NODE_MASTER}
|
||||
data: ${NODE_DATA}
|
||||
name: ${NODE_NAME}
|
||||
@ -618,7 +619,10 @@ conf:
|
||||
logstash:
|
||||
name: logstash_snapshots
|
||||
env:
|
||||
java_opts: "-Xms256m -Xmx256m"
|
||||
java_opts:
|
||||
client: "-Xms256m -Xmx256m"
|
||||
data: "-Xms256m -Xmx256m"
|
||||
master: "-Xms256m -Xmx256m"
|
||||
prometheus_elasticsearch_exporter:
|
||||
es:
|
||||
all: true
|
||||
|
@ -322,7 +322,10 @@ data:
|
||||
conf:
|
||||
elasticsearch:
|
||||
env:
|
||||
java_opts: "-Xms512m -Xmx512m"
|
||||
java_opts:
|
||||
client: "-Xms512m -Xmx512m"
|
||||
data: "-Xms512m -Xmx512m"
|
||||
master: "-Xms512m -Xmx512m"
|
||||
snapshots:
|
||||
enabled: true
|
||||
source:
|
||||
|
@ -28,7 +28,10 @@ pod:
|
||||
conf:
|
||||
elasticsearch:
|
||||
env:
|
||||
java_opts: "-Xms512m -Xmx512m"
|
||||
java_opts:
|
||||
client: "-Xms512m -Xmx512m"
|
||||
data: "-Xms512m -Xmx512m"
|
||||
master: "-Xms512m -Xmx512m"
|
||||
snapshots:
|
||||
enabled: true
|
||||
curator:
|
||||
|
Loading…
Reference in New Issue
Block a user