Skip to content

Commit

Permalink
Set max unavailable to 10% (#807)
Browse files Browse the repository at this point in the history
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 <[email protected]>

Co-authored-by: Petr Horáček <[email protected]>
  • Loading branch information
kubevirt-bot and phoracek authored Aug 23, 2021
1 parent 5cabca9 commit cfdb2a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/handler/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ spec:
selector:
matchLabels:
name: {{template "handlerPrefix" .}}nmstate-handler
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 10%
template:
metadata:
labels:
Expand Down

0 comments on commit cfdb2a5

Please sign in to comment.