mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/elasticsearch] Request resource limits for initContainer (#10444)
* [stable/elasticsearch] Request resource limits for initContainer Signed-off-by: Johnathan Rodgers <jrodgers@powerhrg.com> * Update README for initResource variables Signed-off-by: Johnathan Rodgers <jrodgers@powerhrg.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
8b6ac0843a
commit
37bfb62560
@@ -1,6 +1,6 @@
|
||||
name: elasticsearch
|
||||
home: https://www.elastic.co/products/elasticsearch
|
||||
version: 1.15.4
|
||||
version: 1.15.5
|
||||
appVersion: 6.5.4
|
||||
description: Flexible and powerful open source, distributed real-time search and analytics
|
||||
engine.
|
||||
|
||||
@@ -88,10 +88,12 @@ The following table lists the configurable parameters of the elasticsearch chart
|
||||
| `client.loadBalancerSourceRanges` | Client loadBalancerSourceRanges | `{}` |
|
||||
| `client.antiAffinity` | Client anti-affinity policy | `soft` |
|
||||
| `client.nodeAffinity` | Client node affinity policy | `{}` |
|
||||
| `client.initResources` | Client initContainer resources requests & limits | `{}` |
|
||||
| `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.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` |
|
||||
@@ -110,6 +112,7 @@ The following table lists the configurable parameters of the elasticsearch chart
|
||||
| `master.antiAffinity` | Master anti-affinity policy | `soft` |
|
||||
| `master.nodeAffinity` | Master node affinity policy | `{}` |
|
||||
| `master.updateStrategy` | Master node update strategy policy | `{type: "onDelete"}` |
|
||||
| `data.initResources` | Data initContainer resources requests & limits | `{}` |
|
||||
| `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` |
|
||||
|
||||
@@ -69,6 +69,8 @@ spec:
|
||||
- name: "sysctl"
|
||||
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
|
||||
imagePullPolicy: {{ .Values.initImage.pullPolicy | quote }}
|
||||
resources:
|
||||
{{ toYaml .Values.client.initResources | indent 12 }}
|
||||
command: ["sysctl", "-w", "vm.max_map_count=262144"]
|
||||
securityContext:
|
||||
privileged: true
|
||||
|
||||
@@ -71,12 +71,16 @@ spec:
|
||||
- name: "sysctl"
|
||||
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
|
||||
imagePullPolicy: {{ .Values.initImage.pullPolicy | quote }}
|
||||
resources:
|
||||
{{ toYaml .Values.data.initResources | indent 12 }}
|
||||
command: ["sysctl", "-w", "vm.max_map_count=262144"]
|
||||
securityContext:
|
||||
privileged: true
|
||||
- name: "chown"
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
|
||||
resources:
|
||||
{{ toYaml .Values.data.initResources | indent 12 }}
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
|
||||
@@ -71,12 +71,16 @@ spec:
|
||||
- name: "sysctl"
|
||||
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
|
||||
imagePullPolicy: {{ .Values.initImage.pullPolicy | quote }}
|
||||
resources:
|
||||
{{ toYaml .Values.master.initResources | indent 12 }}
|
||||
command: ["sysctl", "-w", "vm.max_map_count=262144"]
|
||||
securityContext:
|
||||
privileged: true
|
||||
- name: "chown"
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
|
||||
resources:
|
||||
{{ toYaml .Values.master.initResources | indent 12 }}
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
|
||||
@@ -75,6 +75,13 @@ client:
|
||||
nodeAffinity: {}
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
initResources: {}
|
||||
# limits:
|
||||
# cpu: "25m"
|
||||
# # memory: "128Mi"
|
||||
# requests:
|
||||
# cpu: "25m"
|
||||
# memory: "128Mi"
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
@@ -118,6 +125,13 @@ master:
|
||||
nodeAffinity: {}
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
initResources: {}
|
||||
# limits:
|
||||
# cpu: "25m"
|
||||
# # memory: "128Mi"
|
||||
# requests:
|
||||
# cpu: "25m"
|
||||
# memory: "128Mi"
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
@@ -152,6 +166,13 @@ data:
|
||||
nodeAffinity: {}
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
initResources: {}
|
||||
# limits:
|
||||
# cpu: "25m"
|
||||
# # memory: "128Mi"
|
||||
# requests:
|
||||
# cpu: "25m"
|
||||
# memory: "128Mi"
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
|
||||
Reference in New Issue
Block a user