summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid
diff options
context:
space:
mode:
authorvaibhav_16dec <vaibhav.chopra@amdocs.com>2018-02-15 10:00:06 +0000
committervaibhav_16dec <vaibhav.chopra@amdocs.com>2018-02-15 10:01:11 +0000
commit4930205c1cabc320ff34d2496765ba0089792d25 (patch)
treeb7d28ce4a7f7e05a35866191cf5265f2767d4b5b /kubernetes/vid
parent15ef9b262d5ce97e4536640ef5eefd2ba50fa5fd (diff)
Replica Scaling of Portal and Vid Container
Issue-ID: OOM-690 Change-Id: Ia26adc82d04add9b1e18c51b361c21755512c137 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
Diffstat (limited to 'kubernetes/vid')
-rw-r--r--kubernetes/vid/templates/vid-mariadb-deployment.yaml1
-rw-r--r--kubernetes/vid/templates/vid-server-deployment.yaml1
-rw-r--r--kubernetes/vid/values.yaml2
3 files changed, 4 insertions, 0 deletions
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