summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-09-23 13:35:31 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-10-20 11:02:28 +0200
commit5e16401636e8b9a5eb72d3e66a6ddb2c9982e0b9 (patch)
tree950d8b6655728227d9a722a92360bcff3dded28d /kubernetes/consul/templates
parentc08c8ffa8ec4f063c22e19acdc0a1e23edd4f26f (diff)
[CONSUL] Add limits to consul chart.
Having limits is important in order to have safe deployment. consul didn't had one so let's add them. Issue-ID: OOM-2230 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Idb49a5db304236c0786848acbc69c786084d7e33
Diffstat (limited to 'kubernetes/consul/templates')
-rw-r--r--kubernetes/consul/templates/deployment.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/consul/templates/deployment.yaml b/kubernetes/consul/templates/deployment.yaml
index a7774e9878..449ed9b480 100644
--- a/kubernetes/consul/templates/deployment.yaml
+++ b/kubernetes/consul/templates/deployment.yaml
@@ -59,6 +59,7 @@ spec:
name: consul-agent-scripts-config
- mountPath: /consul/certs
name: consul-agent-certs-config
+ resources: {{ include "common.resources" . | nindent 10 }}
volumes:
- configMap:
name: {{ include "common.fullname" . }}-configmap