build(kube): 💚 Add delay between pod updates on deployment.
This commit is contained in:
@@ -7,9 +7,15 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
serviceName: "bot-headless"
|
serviceName: "bot-headless"
|
||||||
replicas: 1 # Adjust this manually together with env.TOTAL_SHARDS down below.
|
replicas: 1 # Adjust this manually together with env.TOTAL_SHARDS down below.
|
||||||
|
minReadySeconds: 10
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: bot
|
app: bot
|
||||||
|
strategy:
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: 1
|
||||||
|
maxUnavailable: 1
|
||||||
|
type: RollingUpdate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
Reference in New Issue
Block a user