Replica Scaling of Policy Container 13/31813/1
authorvaibhav_16dec <vaibhav.chopra@amdocs.com>
Thu, 15 Feb 2018 10:15:44 +0000 (10:15 +0000)
committervaibhav_16dec <vaibhav.chopra@amdocs.com>
Thu, 15 Feb 2018 10:16:38 +0000 (10:16 +0000)
Issue-ID: OOM-689

Change-Id: Iff389af637dec0b85e568dd9b4cfa641f11eb3fc
Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
kubernetes/policy/templates/dep-brmsgw.yaml
kubernetes/policy/templates/dep-drools.yaml
kubernetes/policy/templates/dep-maria.yaml
kubernetes/policy/templates/dep-nexus.yaml
kubernetes/policy/templates/dep-pap.yaml
kubernetes/policy/templates/dep-pdp.yaml
kubernetes/policy/values.yaml

index 667ccc6..6c0533c 100644 (file)
@@ -5,7 +5,7 @@ metadata:
   name: brmsgw
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
-  replicas: 1
+  replicas: {{ .Values.brmsgwReplicas }}
   selector:
     matchLabels:
       app: brmsgw
index afa044a..1dc16cf 100644 (file)
@@ -5,7 +5,7 @@ metadata:
   name: drools
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
-  replicas: 1
+  replicas: {{ .Values.droolsReplicas }}
   selector:
     matchLabels:
       app: drools
index c921e8c..e42230f 100644 (file)
@@ -5,6 +5,7 @@ metadata:
   name: mariadb
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
+  replicas: {{ .Values.mariadbReplicas }}
   selector:
     matchLabels:
       app: mariadb
@@ -35,4 +36,4 @@ spec:
           path: /etc/localtime
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
-#{{ end }}
\ No newline at end of file
+#{{ end }}
index 4adb05f..2db40b2 100644 (file)
@@ -5,6 +5,7 @@ metadata:
   name: nexus
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
+  replicas: {{ .Values.nexusReplicas }}
   selector:
     matchLabels:
       app: nexus
index d3d5ff3..68ccb5a 100644 (file)
@@ -5,6 +5,7 @@ metadata:
   name: pap
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
+  replicas: {{ .Values.papReplicas }}
   selector:
     matchLabels:
       app: pap
index b62e280..f867fa5 100644 (file)
@@ -5,7 +5,7 @@ metadata:
   name: pdp
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
-  replicas: 1
+  replicas: {{ .Values.pdpReplicas }}
   selector:
     matchLabels:
       app: pdp
index f52dc44..79b59cf 100644 (file)
@@ -5,7 +5,12 @@ nodePortPrefix: 302
 # POLICY hotfix - Note this must be temporary
 # See https://jira.onap.org/browse/POLICY-510
 aaiServiceClusterIp: 10.43.255.254
-
+brmsgwReplicas: 1
+droolsReplicas: 1
+mariadbReplicas: 1
+nexusReplicas: 1
+papReplicas: 1
+pdpReplicas: 1
 image:
   readiness: oomk8s/readiness-check
   readinessVersion: 1.0.0
@@ -18,4 +23,4 @@ image:
   policyNexus: nexus3.onap.org:10001/onap/policy/policy-nexus
   policyNexusVersion: v1.1.1
   ubuntu: ubuntu:16.04
-  filebeat: docker.elastic.co/beats/filebeat:5.5.0
\ No newline at end of file
+  filebeat: docker.elastic.co/beats/filebeat:5.5.0