distribution: Change clouddot template to allow for unavailable pods
Because the state directory, which is still currently used, only allows for a single pod to mount it, allow for 0 available pods when updating the deployment. Otherwise it will block updating until the state directory is available for mounting, which will be never.
This commit is contained in:
parent
d0b5aaae95
commit
c53283f5e9
1 changed files with 4 additions and 4 deletions
|
|
@ -24,10 +24,10 @@ objects:
|
|||
# Update pods 1 at a time
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
# Create at most 1 extra pod over .spec.replicas
|
||||
maxSurge: 1
|
||||
# At all times there should be .spec.replicas available
|
||||
maxUnavailable: 0
|
||||
# Create at most 0 extra pod over .spec.replicas
|
||||
maxSurge: 0
|
||||
# At all times there should be .spec.replicas - 1 available
|
||||
maxUnavailable: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue