Speed up rolling deploys: allow surge, reduce startup delay
- maxSurge 0→1: new pods start before old ones terminate - minReadySeconds 10→5 - startupProbe: initialDelay 10→5s, period 5→3s
This commit is contained in:
parent
b7e0c3bc7a
commit
cebf6f3f69
1 changed files with 5 additions and 5 deletions
|
|
@ -5,11 +5,11 @@ metadata:
|
|||
namespace: prop
|
||||
spec:
|
||||
replicas: 3
|
||||
minReadySeconds: 10
|
||||
minReadySeconds: 5
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 0
|
||||
maxSurge: 1
|
||||
maxUnavailable: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
|
|
@ -67,9 +67,9 @@ spec:
|
|||
httpGet:
|
||||
path: /health
|
||||
port: 5000
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 5
|
||||
failureThreshold: 12
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 3
|
||||
failureThreshold: 10
|
||||
timeoutSeconds: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue