Skip to content

Commit

Permalink
Fix max unavailable (#3149)
Browse files Browse the repository at this point in the history
* 统一 ovs ovn  maxUnavailable

Signed-off-by: bobz965 <[email protected]>
  • Loading branch information
bobz965 committed Aug 18, 2023
1 parent 46cee03 commit 4d45771
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
5 changes: 4 additions & 1 deletion charts/templates/ovn-dpdk-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ spec:
matchLabels:
app: ovs-dpdk
updateStrategy:
type: OnDelete
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template:
metadata:
labels:
Expand Down
11 changes: 7 additions & 4 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3331,13 +3331,16 @@ metadata:
spec:
selector:
matchLabels:
app: ovs
app: ovs-dpdk
updateStrategy:
type: OnDelete
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template:
metadata:
labels:
app: ovs
app: ovs-dpdk
component: network
type: infra
spec:
Expand Down Expand Up @@ -3497,7 +3500,7 @@ spec:
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 100%
maxSurge: 1
maxUnavailable: 0
template:
metadata:
Expand Down
9 changes: 6 additions & 3 deletions yamls/ovn-dpdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,16 @@ metadata:
spec:
selector:
matchLabels:
app: ovs
app: ovs-dpdk
updateStrategy:
type: OnDelete
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template:
metadata:
labels:
app: ovs
app: ovs-dpdk
component: network
type: infra
spec:
Expand Down
2 changes: 1 addition & 1 deletion yamls/ovn-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ spec:
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 100%
maxSurge: 1
maxUnavailable: 0
template:
metadata:
Expand Down

0 comments on commit 4d45771

Please sign in to comment.