summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-babel/templates/deployment.yaml
diff options
context:
space:
mode:
authorRommel Pawar <rommel.pawar@bell.ca>2022-11-16 10:11:24 -0800
committerAndreas Geissler <andreas-geissler@telekom.de>2022-11-23 07:51:27 +0000
commit63db716df5e8a66512a5e843b9b3588c3fc07ed4 (patch)
treea635e83312cb0ff19b1abb0cad5be64009685199 /kubernetes/aai/components/aai-babel/templates/deployment.yaml
parent3502e73a2762fc50f9ba3ae5d65a3efe5f05bead (diff)
[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 <rommel.pawar@bell.ca> Change-Id: Ia3949ce9e60542a7b0a4f69fb41ba86fe8399739
Diffstat (limited to 'kubernetes/aai/components/aai-babel/templates/deployment.yaml')
-rw-r--r--kubernetes/aai/components/aai-babel/templates/deployment.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-babel/templates/deployment.yaml b/kubernetes/aai/components/aai-babel/templates/deployment.yaml
index 38a4e484c3..e52ac7a6d1 100644
--- a/kubernetes/aai/components/aai-babel/templates/deployment.yaml
+++ b/kubernetes/aai/components/aai-babel/templates/deployment.yaml
@@ -31,6 +31,13 @@ spec:
matchLabels:
app: {{ include "common.name" . }}
replicas: {{ .Values.replicaCount }}
+ strategy:
+ type: {{ .Values.updateStrategy.type }}
+ {{- if (eq "RollingUpdate" .Values.updateStrategy.type) }}
+ rollingUpdate:
+ maxUnavailable: {{ .Values.updateStrategy.maxUnavailable }}
+ maxSurge: {{ .Values.updateStrategy.maxSurge }}
+ {{- end }}
template:
metadata:
labels: