feat(keda): add path filter to HTTPScaledObject

Filter scales only on inference traffic (/v1/chat/completions):
- Ignores probes (/health, /v1/models)
- targetPendingRequests defaults (low queue → up)
- Keeps scaledownPeriod 900s idle zero
This commit is contained in:
Hermes Agent 2026-04-25 23:58:38 +00:00
parent b8bf9dd242
commit 01061d1b92

View file

@ -12,6 +12,8 @@ spec:
apiVersion: apps/v1 apiVersion: apps/v1
service: openclaw-brain-service service: openclaw-brain-service
port: 8000 port: 8000
paths:
- path: "^/v1/chat/completions"
replicas: replicas:
min: 0 min: 0
max: 1 max: 1