Sync prerequisites with Helm Charts (#4483)
Browse files### What problem does this PR solve?
Address #4391
### Type of change
- [x] Other (please describe):
- helm/templates/elasticsearch.yaml +6 -0
- helm/values.yaml +2 -1
helm/templates/elasticsearch.yaml
CHANGED
@@ -52,6 +52,12 @@ spec:
|
|
52 |
volumeMounts:
|
53 |
- mountPath: /usr/share/elasticsearch/data
|
54 |
name: es-data
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
containers:
|
56 |
- name: elasticsearch
|
57 |
image: docker.elastic.co/elasticsearch/elasticsearch:{{ .Values.env.STACK_VERSION }}
|
|
|
52 |
volumeMounts:
|
53 |
- mountPath: /usr/share/elasticsearch/data
|
54 |
name: es-data
|
55 |
+
- name: sysctl
|
56 |
+
image: busybox
|
57 |
+
securityContext:
|
58 |
+
privileged: true
|
59 |
+
runAsUser: 0
|
60 |
+
command: ["sysctl", "-w", "vm.max_map_count=262144"]
|
61 |
containers:
|
62 |
- name: elasticsearch
|
63 |
image: docker.elastic.co/elasticsearch/elasticsearch:{{ .Values.env.STACK_VERSION }}
|
helm/values.yaml
CHANGED
@@ -91,7 +91,8 @@ elasticsearch:
|
|
91 |
strategy:
|
92 |
resources:
|
93 |
requests:
|
94 |
-
|
|
|
95 |
service:
|
96 |
type: ClusterIP
|
97 |
|
|
|
91 |
strategy:
|
92 |
resources:
|
93 |
requests:
|
94 |
+
cpu: "4"
|
95 |
+
memory: "16Gi"
|
96 |
service:
|
97 |
type: ClusterIP
|
98 |
|