summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/templates
diff options
context:
space:
mode:
authorvaibhav_16dec <vaibhav.chopra@amdocs.com>2018-02-16 06:33:55 +0000
committervaibhav_16dec <vaibhav.chopra@amdocs.com>2018-03-07 15:26:22 +0000
commitb7d08b201b0f702936724473e90b14fed04ab21b (patch)
tree2df2c705b5a613f6328fcb3ea6f2d96d89613a91 /kubernetes/consul/templates
parent8c4e3d3f261ff6f4f32ae84cfc519f4b55172aee (diff)
Replica Scaling of Consul and Log container
Issue-ID: OOM-692 Change-Id: I7ddbcbe562b3e5f82384c734c48d6c810a647f62 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
Diffstat (limited to 'kubernetes/consul/templates')
-rw-r--r--kubernetes/consul/templates/consul-agent-deployment.yaml1
-rw-r--r--kubernetes/consul/templates/consul-server-deployment.yaml2
2 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/consul/templates/consul-agent-deployment.yaml b/kubernetes/consul/templates/consul-agent-deployment.yaml
index 81b16b54ca..a2bbe6636f 100644
--- a/kubernetes/consul/templates/consul-agent-deployment.yaml
+++ b/kubernetes/consul/templates/consul-agent-deployment.yaml
@@ -7,6 +7,7 @@ metadata:
name: consul-agent
namespace: "{{ .Values.nsPrefix }}"
spec:
+ replicas: {{ .Values.consulAgentReplicas }}
selector:
matchLabels:
app: consul-agent
diff --git a/kubernetes/consul/templates/consul-server-deployment.yaml b/kubernetes/consul/templates/consul-server-deployment.yaml
index c9f2cfb372..6aafee4cb2 100644
--- a/kubernetes/consul/templates/consul-server-deployment.yaml
+++ b/kubernetes/consul/templates/consul-server-deployment.yaml
@@ -7,7 +7,7 @@ metadata:
name: consul-server
namespace: "{{ .Values.nsPrefix }}"
spec:
- replicas: 3
+ replicas: {{ .Values.consulServerReplicas }}
selector:
matchLabels:
app: consul-server