fix keda issues

This commit is contained in:
sirius0xdev 2026-04-22 22:37:31 +00:00
parent 94f5cedf42
commit 4317e5c552

View file

@ -7,15 +7,13 @@ spec:
scaleTargetRef: scaleTargetRef:
name: openclaw-brain-vllm name: openclaw-brain-vllm
kind: Deployment kind: Deployment
service:
name: openclaw-brain-service
port: 8000
minReplicaCount: 0 minReplicaCount: 0
maxReplicaCount: 1 maxReplicaCount: 1
cooldownPeriod: 900 # 15 minutes idle before scale-down cooldownPeriod: 900 # 15 minutes idle before scale-down
pollingInterval: 30
triggers: triggers:
- type: http - type: http
metadata: metadata:
path: "/v1/models" path: "/v1/"
host: "openclaw-brain-service.customer1.svc.cluster.local" host: "openclaw-brain-service.customer1.svc.cluster.local"
requestCount: "1" # Scale up on 1+ request (wake script handles cold start) requestCount: "1" # Scale up on 1+ request (wake script handles cold start)