aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-schema-service/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-24 08:03:53 +0000
commit3422429423cda9822dddad6d54100033d7110fc4 (patch)
tree7fc70099b61cac93708956d40450f75c5dbf9499 /kubernetes/aai/components/aai-schema-service/templates/deployment.yaml
parent1fa43b55e82b8759ba37859da61aafe00024cc8b (diff)
[AAI] OOM AAI Rolling Update fixes
Rolling update fixes for 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-schema-service/templates/deployment.yaml')
-rw-r--r--kubernetes/aai/components/aai-schema-service/templates/deployment.yaml7
1 files changed, 7 insertions, 0 deletions
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" . }}