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 <zhangbingbing2_yewu@cmss.chinamobile.com>
  • Loading branch information
bobz965 committed Sep 8, 2023
1 parent 5d07211 commit c5d4221
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
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
Expand Up @@ -3329,13 +3329,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 @@ -3495,7 +3498,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
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
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 c5d4221

Please sign in to comment.