diff --git a/k8s/bot.yml b/k8s/bot.yml index 4386ef7..0046b2e 100644 --- a/k8s/bot.yml +++ b/k8s/bot.yml @@ -7,9 +7,15 @@ metadata: spec: serviceName: "bot-headless" replicas: 1 # Adjust this manually together with env.TOTAL_SHARDS down below. + minReadySeconds: 10 selector: matchLabels: app: bot + strategy: + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 + type: RollingUpdate template: metadata: labels: