build(shard): Update default shards count.
This commit is contained in:
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user