build(shard): Update default shards count.
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@ metadata:
|
|||||||
app: bot
|
app: bot
|
||||||
spec:
|
spec:
|
||||||
serviceName: "bot-headless"
|
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
|
minReadySeconds: 15
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
@@ -31,7 +31,7 @@ spec:
|
|||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.labels['apps.kubernetes.io/pod-index']
|
fieldPath: metadata.labels['apps.kubernetes.io/pod-index']
|
||||||
- name: SHARD_COUNT
|
- 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:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: "1000m"
|
cpu: "1000m"
|
||||||
|
|||||||
Reference in New Issue
Block a user