Commit 5268cd23 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add resource limits

parent c7214408
......@@ -20,6 +20,13 @@ spec:
- name: "{{ .Values.deploymentName }}-container"
image: "{{.Values.registry}}/{{ .Values.image }}:{{ .Values.tag }}"
imagePullPolicy: Always
resources:
requests:
cpu: "{{ .Values.k8sRequestsCpu }}"
memory: "{{ .Values.k8sRequestsMemory }}"
limits:
cpu: "{{ .Values.k8sLimitsCpu }}"
memory: "{{ .Values.k8sLimitsMemory }}"
env:
- name: DOCUMENTS_INDEX
valueFrom:
......
......@@ -3,6 +3,13 @@ registry: "cr.gitlab.switch.ch"
image: "memoriav/memobase-2020/services/elastic-services/search-doc-service"
tag: "latest"
k8sEnvironment: placeholder
k8sReplicas: 1
k8sRequestsCpu: "0.1"
k8sRequestsMemory: "128Mi"
k8sLimitsCpu: "0.5"
k8sLimitsMemory: "512Mi"
deploymentName: placeholder
kafkaConfigs: paceholder
elasticConfigs: paceholder
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment