droboticflow/k8s/fanyu-validator-scale.patch.yaml
d-robotics 909c58ced3 📐 Resize validator plan to 16 slots for 100+ concurrent users from measured demand
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:55:14 +08:00

22 lines
784 B
YAML

# Strategic merge, droboticflow-annotation-validator only. 4 replicas x 4 slots = 16
# validation slots for 100+ concurrent users; 4 slots x 2 ffprobe threads per pod.
# Memory unchanged: live RSS is 130-230 MiB. See docs/capacity/validator-scale-20261026.md.
spec:
replicas: 4
template:
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- {key: kubernetes.io/hostname, operator: In, values: ["10.189.16.33"]}
containers:
- name: processor
env:
- {name: ANNOTATION_INDEX_CONCURRENCY, value: "4"}
resources:
requests: {cpu: "6", memory: 4Gi}
limits: {cpu: "8", memory: 8Gi}