Sync prerequisites with Helm Charts (#4483)

### What problem does this PR solve?

Address #4391 

### Type of change

- [x] Other (please describe):
This commit is contained in:
petertc 2025-01-15 11:57:47 +08:00 committed by GitHub
parent 8f7ecde908
commit 713f38090b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -52,6 +52,12 @@ spec:
volumeMounts:
- mountPath: /usr/share/elasticsearch/data
name: es-data
- name: sysctl
image: busybox
securityContext:
privileged: true
runAsUser: 0
command: ["sysctl", "-w", "vm.max_map_count=262144"]
containers:
- name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:{{ .Values.env.STACK_VERSION }}

View File

@ -91,7 +91,8 @@ elasticsearch:
strategy:
resources:
requests:
memory: 8Gi
cpu: "4"
memory: "16Gi"
service:
type: ClusterIP