Hotfix for ES resource requests #33

Merged
stefan merged 3 commits from master into argoless 2021-01-18 17:19:19 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -54,12 +54,12 @@ spec:
resources:
requests:
cpu: {{ default "200m" .cpu_request }}
memory: {{ mul 2 ( default "2" .jvm_heap ) }}Gi
memory: {{ default ( mul 2 ( default "2" .jvm_heap ) ) .memory_request }}Gi
limits:
{{- if .cpu_limit }}
cpu: {{ .cpu_limit }}
{{- end }}
memory: {{ mul 2 ( default "2" .jvm_heap ) }}Gi
memory: {{ default ( mul 2 ( default "2" .jvm_heap ) ) .memory_limit }}Gi
env:
- name: ES_JAVA_OPTS
value: -Xms{{ default "2" .jvm_heap }}g -Xmx{{ default "2" .jvm_heap }}g