From a77d0eeba598d199b35a3c6da685f43b0cdbaa87 Mon Sep 17 00:00:00 2001 From: bobz965 Date: Thu, 17 Aug 2023 14:40:40 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=BB=9F=E4=B8=80=20ovsovn=20=20maxUnavail?= =?UTF-8?q?able?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: bobz965 --- dist/images/install.sh | 2 +- yamls/ovn-ha.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/images/install.sh b/dist/images/install.sh index 8d6a4606fbb..4d13de1ad34 100755 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -3497,7 +3497,7 @@ spec: updateStrategy: type: RollingUpdate rollingUpdate: - maxSurge: 100% + maxSurge: 1 maxUnavailable: 0 template: metadata: diff --git a/yamls/ovn-ha.yaml b/yamls/ovn-ha.yaml index 46f30e1031e..d8fe76afdc2 100644 --- a/yamls/ovn-ha.yaml +++ b/yamls/ovn-ha.yaml @@ -219,7 +219,7 @@ spec: updateStrategy: type: RollingUpdate rollingUpdate: - maxSurge: 100% + maxSurge: 1 maxUnavailable: 0 template: metadata: From 1c264fbfded6e3d51cd742699ac6a9704a94e45c Mon Sep 17 00:00:00 2001 From: bobz965 Date: Thu, 17 Aug 2023 15:15:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=BB=9F=E4=B8=80=20ovsovn=20=20maxUnavail?= =?UTF-8?q?able?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: bobz965 --- charts/templates/ovn-dpdk-ds.yaml | 7 +++++-- dist/images/install.sh | 5 ++++- yamls/ovn-dpdk.yaml | 5 ++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/charts/templates/ovn-dpdk-ds.yaml b/charts/templates/ovn-dpdk-ds.yaml index 9be3d6bf99d..d81d9493e74 100644 --- a/charts/templates/ovn-dpdk-ds.yaml +++ b/charts/templates/ovn-dpdk-ds.yaml @@ -10,9 +10,12 @@ metadata: spec: selector: matchLabels: - app: ovs-dpdk + app: ovs updateStrategy: - type: OnDelete + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 0 template: metadata: labels: diff --git a/dist/images/install.sh b/dist/images/install.sh index 4d13de1ad34..cfbdc9f3432 100755 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -3333,7 +3333,10 @@ spec: matchLabels: app: ovs updateStrategy: - type: OnDelete + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 0 template: metadata: labels: diff --git a/yamls/ovn-dpdk.yaml b/yamls/ovn-dpdk.yaml index 85748237316..2a87fb515d2 100644 --- a/yamls/ovn-dpdk.yaml +++ b/yamls/ovn-dpdk.yaml @@ -317,7 +317,10 @@ spec: matchLabels: app: ovs updateStrategy: - type: OnDelete + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 0 template: metadata: labels: