From 4930205c1cabc320ff34d2496765ba0089792d25 Mon Sep 17 00:00:00 2001 From: vaibhav_16dec Date: Thu, 15 Feb 2018 10:00:06 +0000 Subject: Replica Scaling of Portal and Vid Container Issue-ID: OOM-690 Change-Id: Ia26adc82d04add9b1e18c51b361c21755512c137 Signed-off-by: vaibhav_16dec --- kubernetes/vid/templates/vid-mariadb-deployment.yaml | 1 + kubernetes/vid/templates/vid-server-deployment.yaml | 1 + kubernetes/vid/values.yaml | 2 ++ 3 files changed, 4 insertions(+) (limited to 'kubernetes/vid') diff --git a/kubernetes/vid/templates/vid-mariadb-deployment.yaml b/kubernetes/vid/templates/vid-mariadb-deployment.yaml index 758ee578f0..bf23c3f8b1 100644 --- a/kubernetes/vid/templates/vid-mariadb-deployment.yaml +++ b/kubernetes/vid/templates/vid-mariadb-deployment.yaml @@ -7,6 +7,7 @@ metadata: name: vid-mariadb namespace: "{{ .Values.nsPrefix }}-vid" spec: + replicas: {{ .Values.vidMariaDbReplicas }} selector: matchLabels: app: vid-mariadb diff --git a/kubernetes/vid/templates/vid-server-deployment.yaml b/kubernetes/vid/templates/vid-server-deployment.yaml index c979845fe1..7f9cb653b2 100644 --- a/kubernetes/vid/templates/vid-server-deployment.yaml +++ b/kubernetes/vid/templates/vid-server-deployment.yaml @@ -7,6 +7,7 @@ metadata: name: vid-server namespace: "{{ .Values.nsPrefix }}-vid" spec: + replicas: {{ .Values.vidServerReplicas }} selector: matchLabels: app: vid-server diff --git a/kubernetes/vid/values.yaml b/kubernetes/vid/values.yaml index 6e7b023df4..64635889cf 100644 --- a/kubernetes/vid/values.yaml +++ b/kubernetes/vid/values.yaml @@ -2,6 +2,8 @@ nsPrefix: onap pullPolicy: Always nodePortPrefix: 302 dataRootDir: /dockerdata-nfs +vidMariaDbReplicas: 1 +vidServerReplicas: 1 image: readiness: oomk8s/readiness-check:1.0.0 mariadb: nexus3.onap.org:10001/library/mariadb:10 -- cgit 1.2.3-korg