mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/elasticsearch] Add individual Java flags for elasticsearch workload (#10512)
This will add individual Java flags for each workload of elasticsearch Signed-off-by: Johnathan Rodgers <jrodgers@powerhrg.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
db8391ccca
commit
bc5ff1e26f
@@ -1,6 +1,6 @@
|
||||
name: elasticsearch
|
||||
home: https://www.elastic.co/products/elasticsearch
|
||||
version: 1.16.0
|
||||
version: 1.17.0
|
||||
appVersion: 6.5.4
|
||||
description: Flexible and powerful open source, distributed real-time search and analytics
|
||||
engine.
|
||||
|
||||
@@ -90,11 +90,13 @@ The following table lists the configurable parameters of the elasticsearch chart
|
||||
| `client.antiAffinity` | Client anti-affinity policy | `soft` |
|
||||
| `client.nodeAffinity` | Client node affinity policy | `{}` |
|
||||
| `client.initResources` | Client initContainer resources requests & limits | `{}` |
|
||||
| `client.additionalJavaOpts` | Parameters to be added to `ES_JAVA_OPTS` environment variable for client | `""` |
|
||||
| `client.ingress.enabled` | Enable Client Ingress | `false` |
|
||||
| `client.ingress.annotations` | Client Ingress annotations | `{}` |
|
||||
| `client.ingress.hosts` | Client Ingress Hostnames | `[]` |
|
||||
| `client.ingress.tls` | Client Ingress TLS configuration | `[]` |
|
||||
| `master.initResources` | Master initContainer resources requests & limits | `{}` |
|
||||
| `master.additionalJavaOpts` | Parameters to be added to `ES_JAVA_OPTS` environment variable for master | `""` |
|
||||
| `master.exposeHttp` | Expose http port 9200 on master Pods for monitoring, etc | `false` |
|
||||
| `master.name` | Master component name | `master` |
|
||||
| `master.replicas` | Master node replicas (deployment) | `2` |
|
||||
@@ -114,6 +116,7 @@ The following table lists the configurable parameters of the elasticsearch chart
|
||||
| `master.nodeAffinity` | Master node affinity policy | `{}` |
|
||||
| `master.updateStrategy` | Master node update strategy policy | `{type: "onDelete"}` |
|
||||
| `data.initResources` | Data initContainer resources requests & limits | `{}` |
|
||||
| `data.additionalJavaOpts` | Parameters to be added to `ES_JAVA_OPTS` environment variable for data | `""` |
|
||||
| `data.exposeHttp` | Expose http port 9200 on data Pods for monitoring, etc | `false` |
|
||||
| `data.replicas` | Data node replicas (statefulset) | `2` |
|
||||
| `data.resources` | Data node resources requests & limits | `{} - cpu limit must be an integer` |
|
||||
|
||||
@@ -95,7 +95,7 @@ spec:
|
||||
resourceFieldRef:
|
||||
resource: limits.cpu
|
||||
- name: ES_JAVA_OPTS
|
||||
value: "-Djava.net.preferIPv4Stack=true -Xms{{ .Values.client.heapSize }} -Xmx{{ .Values.client.heapSize }} {{ .Values.cluster.additionalJavaOpts }}"
|
||||
value: "-Djava.net.preferIPv4Stack=true -Xms{{ .Values.client.heapSize }} -Xmx{{ .Values.client.heapSize }} {{ .Values.cluster.additionalJavaOpts }} {{ .Values.client.additionalJavaOpts }}"
|
||||
{{- range $key, $value := .Values.cluster.env }}
|
||||
- name: {{ $key }}
|
||||
value: {{ $value | quote }}
|
||||
|
||||
@@ -115,7 +115,7 @@ spec:
|
||||
resourceFieldRef:
|
||||
resource: limits.cpu
|
||||
- name: ES_JAVA_OPTS
|
||||
value: "-Djava.net.preferIPv4Stack=true -Xms{{ .Values.data.heapSize }} -Xmx{{ .Values.data.heapSize }} {{ .Values.cluster.additionalJavaOpts }}"
|
||||
value: "-Djava.net.preferIPv4Stack=true -Xms{{ .Values.data.heapSize }} -Xmx{{ .Values.data.heapSize }} {{ .Values.cluster.additionalJavaOpts }} {{ .Values.data.additionalJavaOpts }}"
|
||||
{{- range $key, $value := .Values.cluster.env }}
|
||||
- name: {{ $key }}
|
||||
value: {{ $value | quote }}
|
||||
|
||||
@@ -119,7 +119,7 @@ spec:
|
||||
resourceFieldRef:
|
||||
resource: limits.cpu
|
||||
- name: ES_JAVA_OPTS
|
||||
value: "-Djava.net.preferIPv4Stack=true -Xms{{ .Values.master.heapSize }} -Xmx{{ .Values.master.heapSize }} {{ .Values.cluster.additionalJavaOpts }}"
|
||||
value: "-Djava.net.preferIPv4Stack=true -Xms{{ .Values.master.heapSize }} -Xmx{{ .Values.master.heapSize }} {{ .Values.cluster.additionalJavaOpts }} {{ .Values.master.additionalJavaOpts }}"
|
||||
{{- range $key, $value := .Values.cluster.env }}
|
||||
- name: {{ $key }}
|
||||
value: {{ $value | quote }}
|
||||
|
||||
@@ -73,6 +73,7 @@ client:
|
||||
# serviceAnnotations:
|
||||
# example: client-svc-foo
|
||||
heapSize: "512m"
|
||||
# additionalJavaOpts: "-XX:MaxRAM=512m"
|
||||
antiAffinity: "soft"
|
||||
nodeAffinity: {}
|
||||
nodeSelector: {}
|
||||
@@ -117,6 +118,7 @@ master:
|
||||
exposeHttp: false
|
||||
replicas: 3
|
||||
heapSize: "512m"
|
||||
# additionalJavaOpts: "-XX:MaxRAM=512m"
|
||||
persistence:
|
||||
enabled: true
|
||||
accessMode: ReadWriteOnce
|
||||
@@ -157,6 +159,7 @@ data:
|
||||
exposeHttp: false
|
||||
replicas: 2
|
||||
heapSize: "1536m"
|
||||
# additionalJavaOpts: "-XX:MaxRAM=1536m"
|
||||
persistence:
|
||||
enabled: true
|
||||
accessMode: ReadWriteOnce
|
||||
|
||||
Reference in New Issue
Block a user