From 65bb2de85824b4cd99e03108b63c6f893b62fbb3 Mon Sep 17 00:00:00 2001 From: vaibhav_16dec Date: Fri, 16 Feb 2018 07:46:32 +0000 Subject: Replica Scaling of MultiCloud and UUI container Issue-ID: OOM-696 Change-Id: Id2aa33af6e13e08883aad8b78ef7b797cb03d11d Signed-off-by: vaibhav_16dec --- kubernetes/uui/templates/uui-deployment.yaml | 1 + kubernetes/uui/templates/uui-server-deployment.yaml | 1 + kubernetes/uui/values.yaml | 2 ++ 3 files changed, 4 insertions(+) (limited to 'kubernetes/uui') diff --git a/kubernetes/uui/templates/uui-deployment.yaml b/kubernetes/uui/templates/uui-deployment.yaml index 1e18009be5..668574918b 100644 --- a/kubernetes/uui/templates/uui-deployment.yaml +++ b/kubernetes/uui/templates/uui-deployment.yaml @@ -7,6 +7,7 @@ metadata: name: uui namespace: "{{ .Values.nsPrefix }}" spec: + replicas: {{ .Values.uuiReplicas }} selector: matchLabels: app: uui diff --git a/kubernetes/uui/templates/uui-server-deployment.yaml b/kubernetes/uui/templates/uui-server-deployment.yaml index e3c58a87e6..01c87e9450 100644 --- a/kubernetes/uui/templates/uui-server-deployment.yaml +++ b/kubernetes/uui/templates/uui-server-deployment.yaml @@ -7,6 +7,7 @@ metadata: name: uui-server namespace: "{{ .Values.nsPrefix }}" spec: + replicas: {{ .Values.uuiServerReplicas }} selector: matchLabels: app: uui-server diff --git a/kubernetes/uui/values.yaml b/kubernetes/uui/values.yaml index f9e23b0f98..391e338b67 100644 --- a/kubernetes/uui/values.yaml +++ b/kubernetes/uui/values.yaml @@ -3,6 +3,8 @@ pullPolicy: Always uuiPortPrefix: 303 msbaddr: msb-iag.{{ .Values.nsPrefix }}:80 mraddr: dmaap.{{ .Values.nsPrefix }}:3904 +uuiReplicas: 1 +uuiServerReplicas: 1 image: uuiImage: nexus3.onap.org:10001/onap/usecase-ui uuiVersion: v1.0.1 -- cgit 1.2.3-korg