diff options
author | vaibhav_16dec <vaibhav.chopra@amdocs.com> | 2018-02-13 07:23:07 +0000 |
---|---|---|
committer | vaibhav_16dec <vaibhav.chopra@amdocs.com> | 2018-02-13 07:26:49 +0000 |
commit | 263ff0e274caf3c49323e37ead72cbfc09debc34 (patch) | |
tree | 56354bcfe59b7b148b5525004bf6bf1e96c6e9d7 | |
parent | 58ba9e800fdd7024f43a3e5195dc5275ce3d5b7e (diff) |
Replica Scaling of MSO component
Issue-ID: OOM-683
Change-Id: I6866376f94536dd93641d5ed7d99fb72a488543b
Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
-rw-r--r-- | kubernetes/mso/templates/db-deployment.yaml | 1 | ||||
-rw-r--r-- | kubernetes/mso/templates/mso-deployment.yaml | 2 | ||||
-rw-r--r-- | kubernetes/mso/values.yaml | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/mso/templates/db-deployment.yaml b/kubernetes/mso/templates/db-deployment.yaml index e6f09c565c..cc4c656a04 100644 --- a/kubernetes/mso/templates/db-deployment.yaml +++ b/kubernetes/mso/templates/db-deployment.yaml @@ -5,6 +5,7 @@ metadata: name: mariadb namespace: "{{ .Values.nsPrefix }}-mso" spec: + replicas: {{ .Values.dbReplicas }} selector: matchLabels: app: mariadb diff --git a/kubernetes/mso/templates/mso-deployment.yaml b/kubernetes/mso/templates/mso-deployment.yaml index 580facdaa6..b4146401c4 100644 --- a/kubernetes/mso/templates/mso-deployment.yaml +++ b/kubernetes/mso/templates/mso-deployment.yaml @@ -5,7 +5,7 @@ metadata: name: mso namespace: "{{ .Values.nsPrefix }}-mso" spec: - replicas: 1 + replicas: {{ .Values.msoReplicas }} selector: matchLabels: app: mso diff --git a/kubernetes/mso/values.yaml b/kubernetes/mso/values.yaml index 73b9f31446..77d3d60edf 100644 --- a/kubernetes/mso/values.yaml +++ b/kubernetes/mso/values.yaml @@ -7,6 +7,8 @@ openStackKeyStoneUrl: "http://1.2.3.4:5000" dmaapTopic: "AUTO" openStackServiceTenantName: "service" openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e" +msoReplicas: 1 +dbReplicas: 1 image: readiness: oomk8s/readiness-check:1.0.0 mso: nexus3.onap.org:10001/openecomp/mso:v1.1.1 |