summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-02-15 15:57:33 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-15 15:57:33 +0000
commitb4b8a94b3c316e71d29013cfa6d3e348594bbf4b (patch)
tree61cdab4625d916405082f22783b423ed4d53acb5 /kubernetes/vid
parenta604880f402eeeb7f980bc5721af41a1dc003ce0 (diff)
parent4930205c1cabc320ff34d2496765ba0089792d25 (diff)
Merge "Replica Scaling of Portal and Vid Container"
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