summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-11-23 11:06:46 +0000
committerGerrit Code Review <gerrit@onap.org>2022-11-23 11:06:46 +0000
commit9b55acc010697efe1facde3f6d722c26191990fe (patch)
treeccdf714794a52bd7429618197db5e636a60e8e57 /kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
parentc0248a7d0359e18eac0c7f684b81054cc15ef6c0 (diff)
parent63db716df5e8a66512a5e843b9b3588c3fc07ed4 (diff)
Merge "[AAI] OOM AAI Rolling Update fixes"
Diffstat (limited to 'kubernetes/aai/components/aai-modelloader/templates/deployment.yaml')
-rw-r--r--kubernetes/aai/components/aai-modelloader/templates/deployment.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
index 47c13af86e..8e481b9656 100644
--- a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
+++ b/kubernetes/aai/components/aai-modelloader/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" . }}