aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-03-07 20:39:46 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-07 20:39:46 +0000
commit41c491482386f37ac876717e0f565ba0781e2d8a (patch)
tree01e916cd916a2ee3f82febc90a3a0beb7d333e96 /kubernetes
parent9752007b556bd2fe9f75436667533652b5cf07e9 (diff)
parent425f0ed3b727d1da38be6a0db2afa8b615b66c9a (diff)
Merge "Replica scaling of Robot and MSB container"
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/msb/templates/msb-consul-deployment.yaml4
-rw-r--r--kubernetes/msb/values.yaml1
-rw-r--r--kubernetes/robot/templates/robot-deployment.yaml1
-rw-r--r--kubernetes/robot/values.yaml1
4 files changed, 5 insertions, 2 deletions
diff --git a/kubernetes/msb/templates/msb-consul-deployment.yaml b/kubernetes/msb/templates/msb-consul-deployment.yaml
index 850dd08439..7d7586c5f6 100644
--- a/kubernetes/msb/templates/msb-consul-deployment.yaml
+++ b/kubernetes/msb/templates/msb-consul-deployment.yaml
@@ -5,7 +5,7 @@ metadata:
name: msb-consul
namespace: "{{ .Values.nsPrefix }}"
spec:
- replicas: 1
+ replicas: {{ .Values.msbConsulReplicas }}
selector:
matchLabels:
app: msb-consul
@@ -29,4 +29,4 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
imagePullPolicy: {{ .Values.pullPolicy }}
-#{{ end }} \ No newline at end of file
+#{{ end }}
diff --git a/kubernetes/msb/values.yaml b/kubernetes/msb/values.yaml
index ec9585a949..8c50e37e2b 100644
--- a/kubernetes/msb/values.yaml
+++ b/kubernetes/msb/values.yaml
@@ -8,6 +8,7 @@ image:
consulPort: 8500
consulNodePort: 30500
+msbConsulReplicas: 1
discoveryPort: 10081
discoveryNodePort: 30081
diff --git a/kubernetes/robot/templates/robot-deployment.yaml b/kubernetes/robot/templates/robot-deployment.yaml
index ac176c4039..a978ff4f41 100644
--- a/kubernetes/robot/templates/robot-deployment.yaml
+++ b/kubernetes/robot/templates/robot-deployment.yaml
@@ -5,6 +5,7 @@ metadata:
name: robot
namespace: "{{ .Values.nsPrefix }}"
spec:
+ replicas: {{ .Values.robotReplicas }}
selector:
matchLabels:
app: robot
diff --git a/kubernetes/robot/values.yaml b/kubernetes/robot/values.yaml
index 221b572264..6aadd93647 100644
--- a/kubernetes/robot/values.yaml
+++ b/kubernetes/robot/values.yaml
@@ -1,6 +1,7 @@
nsPrefix: onap
pullPolicy: Always
nodePortPrefix: 302
+robotReplicas: 1
image:
testsuite: nexus3.onap.org:10001/openecomp/testsuite:1.1-STAGING-latest