aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/log
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/log
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/log')
-rw-r--r--kubernetes/log/templates/elasticsearch-deployment.yaml1
-rw-r--r--kubernetes/log/templates/kibana-deployment.yaml1
-rw-r--r--kubernetes/log/templates/logstash-deployment.yaml1
-rw-r--r--kubernetes/log/values.yaml3
4 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/log/templates/elasticsearch-deployment.yaml b/kubernetes/log/templates/elasticsearch-deployment.yaml
index 2b596d263a..cbc19a8591 100644
--- a/kubernetes/log/templates/elasticsearch-deployment.yaml
+++ b/kubernetes/log/templates/elasticsearch-deployment.yaml
@@ -7,6 +7,7 @@ metadata:
name: log-elasticsearch
namespace: {{ .Values.nsPrefix }}
spec:
+ replicas: {{ .Values.elasticsearchReplicas }}
selector:
matchLabels:
app: elasticsearch
diff --git a/kubernetes/log/templates/kibana-deployment.yaml b/kubernetes/log/templates/kibana-deployment.yaml
index f627a3c729..6e5c36c993 100644
--- a/kubernetes/log/templates/kibana-deployment.yaml
+++ b/kubernetes/log/templates/kibana-deployment.yaml
@@ -7,6 +7,7 @@ metadata:
name: log-kibana
namespace: {{ .Values.nsPrefix }}
spec:
+ replicas: {{ .Values.kibanaReplicas }}
selector:
matchLabels:
app: kibana
diff --git a/kubernetes/log/templates/logstash-deployment.yaml b/kubernetes/log/templates/logstash-deployment.yaml
index 743108124c..1d3b945711 100644
--- a/kubernetes/log/templates/logstash-deployment.yaml
+++ b/kubernetes/log/templates/logstash-deployment.yaml
@@ -7,6 +7,7 @@ metadata:
name: log-logstash
namespace: {{ .Values.nsPrefix }}
spec:
+ replicas: {{ .Values.logstashReplicas }}
selector:
matchLabels:
app: logstash
diff --git a/kubernetes/log/values.yaml b/kubernetes/log/values.yaml
index af53915d27..69efa27b3d 100644
--- a/kubernetes/log/values.yaml
+++ b/kubernetes/log/values.yaml
@@ -2,6 +2,9 @@ nsPrefix: onap
pullPolicy: Always
nodePortPrefix: 302
dataRootDir: /dockerdata-nfs
+elasticsearchReplicas: 1
+kibanaReplicas: 1
+logstashReplicas: 1
image:
readiness: oomk8s/readiness-check:1.1.0
logstash: docker.elastic.co/logstash/logstash:5.4.3