dcb0dfb2 by Adam Heath

Add resource knobs for moqui.

1 parent 81699626
...@@ -124,6 +124,11 @@ spec: ...@@ -124,6 +124,11 @@ spec:
124 containers: 124 containers:
125 - name: moqui 125 - name: moqui
126 image: moqui-app:latest 126 image: moqui-app:latest
127 resources:
128 limits:
129 memory: 1Gi
130 requests:
131 memory: 1Gi
127 envFrom: 132 envFrom:
128 - configMapRef: 133 - configMapRef:
129 name: moqui 134 name: moqui
......
1 name: test 1 name: test
2 namespace: default 2 namespace: default
3 app:
4 resources:
5 limits:
6 memory: 1Gi
7 requests:
8 memory: 1Gi
3 storage: 9 storage:
4 log: 10 log:
5 requests: 10Gi 11 requests: 10Gi
......
...@@ -216,6 +216,7 @@ releases: ...@@ -216,6 +216,7 @@ releases:
216 216
217 containers: 217 containers:
218 - name: moqui 218 - name: moqui
219 resources: {{ .Values.app.resources | toYaml | nindent 20 }}
219 env: 220 env:
220 {{- if .Values.elasticsearch.enabled }} 221 {{- if .Values.elasticsearch.enabled }}
221 - name: kibana_host 222 - name: kibana_host
......