From c850a779f3dc5d7848156a37e04d2e4981f231bb Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Tue, 4 Jul 2023 15:56:02 +1000 Subject: [PATCH] update es --- es/es.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/es/es.yaml b/es/es.yaml index 8627ac2..9961252 100644 --- a/es/es.yaml +++ b/es/es.yaml @@ -55,7 +55,7 @@ spec: value: "-Xms1200m -Xmx1200m" initContainers: - name: fix-permissions - image: busybox + image: alpine command: ["sh", "-c", "chown -R 1000:1000 /usr/share/elasticsearch/data"] securityContext: privileged: true @@ -63,12 +63,12 @@ spec: - name: data mountPath: /usr/share/elasticsearch/data - name: increase-vm-max-map - image: busybox + image: alpine command: ["sysctl", "-w", "vm.max_map_count=262144"] securityContext: privileged: true - name: increase-fd-ulimit - image: busybox + image: alpine command: ["sh", "-c", "ulimit -n 65536"] securityContext: privileged: true