From 63db716df5e8a66512a5e843b9b3588c3fc07ed4 Mon Sep 17 00:00:00 2001 From: Rommel Pawar Date: Wed, 16 Nov 2022 10:11:24 -0800 Subject: [AAI] OOM AAI Rolling Update fixes Rolling update fixes for aai submodules below aai babel modelloader schema service traversal sparkybe Issue-ID: AAI-3605 Signed-off-by: Rommel Pawar Change-Id: Ia3949ce9e60542a7b0a4f69fb41ba86fe8399739 --- .../aai/components/aai-schema-service/templates/deployment.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'kubernetes/aai/components/aai-schema-service/templates') diff --git a/kubernetes/aai/components/aai-schema-service/templates/deployment.yaml b/kubernetes/aai/components/aai-schema-service/templates/deployment.yaml index cd58b959ad..8a7c43f0b9 100644 --- a/kubernetes/aai/components/aai-schema-service/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-schema-service/templates/deployment.yaml @@ -28,6 +28,13 @@ metadata: heritage: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} + strategy: + type: {{ .Values.updateStrategy.type }} + {{- if (eq "RollingUpdate" .Values.updateStrategy.type) }} + rollingUpdate: + maxUnavailable: {{ .Values.updateStrategy.maxUnavailable }} + maxSurge: {{ .Values.updateStrategy.maxSurge }} + {{- end }} selector: matchLabels: app: {{ include "common.name" . }} -- cgit 1.2.3-korg