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:
parent
b8bf9dd242
commit
01061d1b92
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue