summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvaibhav_16dec <vaibhav.chopra@amdocs.com>2018-02-16 07:15:59 +0000
committerVaibhav Chopra <vaibhav.chopra@amdocs.com>2018-03-07 15:28:22 +0000
commit425f0ed3b727d1da38be6a0db2afa8b615b66c9a (patch)
tree11f9e9aa4a84614fc292b7bb2d5b46ba23227aef
parent8c4e3d3f261ff6f4f32ae84cfc519f4b55172aee (diff)
Replica scaling of Robot and MSB container
Issue-ID: OOM-693 Change-Id: Ibcdfd5c2a8c55eb28d6acd16e7a9b0f1faaef65b Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
-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