From c9f1f79338ba39d62dc366b93cfdddec96ba5610 Mon Sep 17 00:00:00 2001 From: Sridhar Gaddam Date: Wed, 24 Jun 2020 20:17:08 +0530 Subject: [PATCH] Fix updateStrategy in Submariner DaemonSet Pods (#49) Fixes issue: https://github.com/submariner-io/submariner-charts/issues/48 Signed-Off-by: Sridhar Gaddam --- submariner/templates/engine-deploy.yaml | 2 +- submariner/templates/globalnet.yaml | 4 ++++ submariner/templates/route-agent-ds.yaml | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/submariner/templates/engine-deploy.yaml b/submariner/templates/engine-deploy.yaml index fdf4871..eb837f2 100644 --- a/submariner/templates/engine-deploy.yaml +++ b/submariner/templates/engine-deploy.yaml @@ -13,7 +13,7 @@ spec: selector: matchLabels: app: {{ template "submariner.fullname" . }}-engine - strategy: + updateStrategy: rollingUpdate: maxUnavailable: 1 type: RollingUpdate diff --git a/submariner/templates/globalnet.yaml b/submariner/templates/globalnet.yaml index de25893..20df3e0 100644 --- a/submariner/templates/globalnet.yaml +++ b/submariner/templates/globalnet.yaml @@ -13,6 +13,10 @@ spec: selector: matchLabels: app: {{ template "submariner.fullname" . }}-globalnet + updateStrategy: + rollingUpdate: + maxUnavailable: 1 + type: RollingUpdate template: metadata: labels: diff --git a/submariner/templates/route-agent-ds.yaml b/submariner/templates/route-agent-ds.yaml index 6ee2fdc..094ccdc 100644 --- a/submariner/templates/route-agent-ds.yaml +++ b/submariner/templates/route-agent-ds.yaml @@ -12,6 +12,10 @@ spec: selector: matchLabels: app: {{ template "submariner.fullname" . }}-routeagent + updateStrategy: + rollingUpdate: + maxUnavailable: 1 + type: RollingUpdate template: metadata: labels: