From c9ea1ca05a078b7c6c2fc2705333aa5b8691799a Mon Sep 17 00:00:00 2001 From: kubevirt-bot Date: Sun, 22 Aug 2021 10:46:34 +0200 Subject: [PATCH] Set max unavailable to 10% (#40) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default value of maxUnavailable is 1. That serializes upgrades and may drag for very long time. This change turns it into 10% to speed up the upgrade process while keeping services reasonably available. https://bugzilla.redhat.com/show_bug.cgi?id=1990065 Signed-off-by: Petr Horáček Co-authored-by: Petr Horáček --- manifests/bridge-marker.yml.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/bridge-marker.yml.in b/manifests/bridge-marker.yml.in index 8d3fbd41..8476df61 100644 --- a/manifests/bridge-marker.yml.in +++ b/manifests/bridge-marker.yml.in @@ -10,6 +10,10 @@ spec: selector: matchLabels: name: bridge-marker + updateStrategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 10% template: metadata: labels: