diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2018-02-15 16:18:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-15 16:18:02 +0000 |
commit | 3472e8ae8b323f83cb0f7add5ff97b7fed936b0f (patch) | |
tree | a3bc74041f5f1555101b07896d877ffc33368156 /kubernetes | |
parent | c4eb1a5c7d634668ae44a45899f10782d3d9b0e6 (diff) | |
parent | f785cf3b01acc6dc56a58622109b18dae3bc99c9 (diff) |
Merge "Replica Scaling of Policy Container"
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/policy/templates/dep-brmsgw.yaml | 2 | ||||
-rw-r--r-- | kubernetes/policy/templates/dep-drools.yaml | 2 | ||||
-rw-r--r-- | kubernetes/policy/templates/dep-maria.yaml | 3 | ||||
-rw-r--r-- | kubernetes/policy/templates/dep-nexus.yaml | 1 | ||||
-rw-r--r-- | kubernetes/policy/templates/dep-pap.yaml | 1 | ||||
-rw-r--r-- | kubernetes/policy/templates/dep-pdp.yaml | 2 | ||||
-rw-r--r-- | kubernetes/policy/values.yaml | 9 |
7 files changed, 14 insertions, 6 deletions
diff --git a/kubernetes/policy/templates/dep-brmsgw.yaml b/kubernetes/policy/templates/dep-brmsgw.yaml index 667ccc6251..6c0533ce15 100644 --- a/kubernetes/policy/templates/dep-brmsgw.yaml +++ b/kubernetes/policy/templates/dep-brmsgw.yaml @@ -5,7 +5,7 @@ metadata: name: brmsgw namespace: "{{ .Values.nsPrefix }}-policy" spec: - replicas: 1 + replicas: {{ .Values.brmsgwReplicas }} selector: matchLabels: app: brmsgw diff --git a/kubernetes/policy/templates/dep-drools.yaml b/kubernetes/policy/templates/dep-drools.yaml index afa044abe9..1dc16cf374 100644 --- a/kubernetes/policy/templates/dep-drools.yaml +++ b/kubernetes/policy/templates/dep-drools.yaml @@ -5,7 +5,7 @@ metadata: name: drools namespace: "{{ .Values.nsPrefix }}-policy" spec: - replicas: 1 + replicas: {{ .Values.droolsReplicas }} selector: matchLabels: app: drools diff --git a/kubernetes/policy/templates/dep-maria.yaml b/kubernetes/policy/templates/dep-maria.yaml index c921e8c890..e42230f994 100644 --- a/kubernetes/policy/templates/dep-maria.yaml +++ b/kubernetes/policy/templates/dep-maria.yaml @@ -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 }} diff --git a/kubernetes/policy/templates/dep-nexus.yaml b/kubernetes/policy/templates/dep-nexus.yaml index 4adb05f630..2db40b2763 100644 --- a/kubernetes/policy/templates/dep-nexus.yaml +++ b/kubernetes/policy/templates/dep-nexus.yaml @@ -5,6 +5,7 @@ metadata: name: nexus namespace: "{{ .Values.nsPrefix }}-policy" spec: + replicas: {{ .Values.nexusReplicas }} selector: matchLabels: app: nexus diff --git a/kubernetes/policy/templates/dep-pap.yaml b/kubernetes/policy/templates/dep-pap.yaml index d3d5ff3738..68ccb5a746 100644 --- a/kubernetes/policy/templates/dep-pap.yaml +++ b/kubernetes/policy/templates/dep-pap.yaml @@ -5,6 +5,7 @@ metadata: name: pap namespace: "{{ .Values.nsPrefix }}-policy" spec: + replicas: {{ .Values.papReplicas }} selector: matchLabels: app: pap diff --git a/kubernetes/policy/templates/dep-pdp.yaml b/kubernetes/policy/templates/dep-pdp.yaml index b62e280895..f867fa54e2 100644 --- a/kubernetes/policy/templates/dep-pdp.yaml +++ b/kubernetes/policy/templates/dep-pdp.yaml @@ -5,7 +5,7 @@ metadata: name: pdp namespace: "{{ .Values.nsPrefix }}-policy" spec: - replicas: 1 + replicas: {{ .Values.pdpReplicas }} selector: matchLabels: app: pdp diff --git a/kubernetes/policy/values.yaml b/kubernetes/policy/values.yaml index f52dc445e6..79b59cf58e 100644 --- a/kubernetes/policy/values.yaml +++ b/kubernetes/policy/values.yaml @@ -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 |