Unverified Commit 4e433046 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

add resource restrictions

parent 2f59c0e0
Pipeline #15539 passed with stages
in 8 minutes and 2 seconds
...@@ -21,6 +21,13 @@ spec: ...@@ -21,6 +21,13 @@ spec:
- name: "{{ .Values.deploymentName }}-container" - name: "{{ .Values.deploymentName }}-container"
image: "{{ .Values.registry }}/{{ .Values.image }}:{{ .Values.tag }}" image: "{{ .Values.registry }}/{{ .Values.image }}:{{ .Values.tag }}"
imagePullPolicy: Always imagePullPolicy: Always
resources:
requests:
cpu: "0.5"
memory: "128Mi"
limits:
cpu: "1"
memory: "1Gi"
envFrom: envFrom:
- secretRef: - secretRef:
name: "{{ .Values.sftpConfigs }}" name: "{{ .Values.sftpConfigs }}"
...@@ -29,4 +36,4 @@ spec: ...@@ -29,4 +36,4 @@ spec:
- configMapRef: - configMapRef:
name: "{{ .Values.kafkaConfigs }}" name: "{{ .Values.kafkaConfigs }}"
- configMapRef: - configMapRef:
name: "{{ .Values.deploymentName }}-config" name: "{{ .Values.deploymentName }}-config"
\ No newline at end of file
Supports Markdown
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