Skip to content

Commit 6464a2c

Browse files
author
Xiaoyang Zhu
authored
fix rollingUpdate
1 parent 86575ce commit 6464a2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy/prod/devops-sample.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ spec:
1717
tier: backend
1818
strategy:
1919
rollingUpdate:
20-
maxSurge: 1
21-
maxUnavailable: 1
20+
maxSurge: 100%
21+
maxUnavailable: 100%
2222
type: RollingUpdate
2323
template:
2424
metadata:
@@ -57,4 +57,4 @@ spec:
5757
terminationMessagePolicy: File
5858
dnsPolicy: ClusterFirst
5959
restartPolicy: Always
60-
terminationGracePeriodSeconds: 30
60+
terminationGracePeriodSeconds: 30

0 commit comments

Comments
 (0)