From 0440a32f01c07acf2b965417c951413d53142687 Mon Sep 17 00:00:00 2001 From: Mike Elliott Date: Wed, 25 Apr 2018 14:24:51 -0400 Subject: Reduce consul default replica count Change-Id: Ifff4f3b8163c5f1d057b6a59129aa3aa4dbdc382 Issue-ID: OOM-1008 Signed-off-by: Mike Elliott --- kubernetes/consul/charts/consul-server/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kubernetes/consul/charts/consul-server/templates/deployment.yaml') diff --git a/kubernetes/consul/charts/consul-server/templates/deployment.yaml b/kubernetes/consul/charts/consul-server/templates/deployment.yaml index d14c42bf19..12403e77c9 100644 --- a/kubernetes/consul/charts/consul-server/templates/deployment.yaml +++ b/kubernetes/consul/charts/consul-server/templates/deployment.yaml @@ -35,7 +35,7 @@ spec: name: {{ include "common.name" . }} spec: containers: - - image: "{{ .Values.repository | default .Values.global.repository }}/{{ .Values.image }}" + - image: "{{ include "common.repository" . }}/{{ .Values.image }}" command: ["/usr/local/bin/docker-entrypoint.sh"] - args: ["agent","-server","-client","0.0.0.0","-enable-script-checks","-bootstrap-expect=3","-ui","-join","{{ include "common.servicename" . }}.{{ include "common.namespace" . }}"] + args: ["agent","-server","-client","0.0.0.0","-enable-script-checks","-bootstrap-expect={{ .Values.replicaCount }}","-ui"] name: {{ include "common.name" . }} -- cgit 1.2.3-korg