From 0aea34008cebbb56e7bbe05d31759071927073ae Mon Sep 17 00:00:00 2001 From: Rafael Bradley Date: Sun, 11 May 2025 22:58:51 -0300 Subject: [PATCH] build(shard): Update default shards count. --- k8s/bot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/bot.yml b/k8s/bot.yml index d56f306..8ac4212 100644 --- a/k8s/bot.yml +++ b/k8s/bot.yml @@ -6,7 +6,7 @@ metadata: app: bot spec: serviceName: "bot-headless" - replicas: 1 # Adjust this manually together with env.TOTAL_SHARDS down below. + replicas: 30 # Adjust this manually together with env.TOTAL_SHARDS down below. minReadySeconds: 15 selector: matchLabels: @@ -31,7 +31,7 @@ spec: fieldRef: fieldPath: metadata.labels['apps.kubernetes.io/pod-index'] - name: SHARD_COUNT - value: "1" # Adjust this manually together with spec.replicas up at the top. + value: "30" # Adjust this manually together with spec.replicas up at the top. resources: limits: cpu: "1000m"