summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
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/charts/consul-server/templates/statefulset.yaml
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/charts/consul-server/templates/statefulset.yaml')
-rw-r--r--kubernetes/consul/charts/consul-server/templates/statefulset.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/consul/charts/consul-server/templates/statefulset.yaml b/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
index 5bdbe0f232..549fb3a159 100644
--- a/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
+++ b/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
@@ -68,3 +68,4 @@ spec:
port: {{ .Values.service.internalPort }}
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
+ resources: {{ include "common.resources" . | nindent 10 }}