Merge pull request #54 from sirius0xdev/fix/keda-httpscaledobject

fix(keda): correct HTTPScaledObject for A100 vLLM wake-on-request
This commit is contained in:
sirius0xdev 2026-04-23 00:03:04 -04:00 committed by GitHub
commit 65b47f25dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,21 +4,13 @@ metadata:
name: openclaw-brain-a100-scaling
namespace: customer1
spec:
# The host header the interceptor should match
# Target to scale + routing info (old style)
scaleTargetRef:
deployment: openclaw-brain-vllm # your Deployment name
service: openclaw-brain-service # your Service name
port: 8000 # ← change if your container port is different (e.g. 8080, 11434 for vLLM, etc.)
host: openclaw-brain-service.customer1.svc.cluster.local
# Replica settings
name: openclaw-brain-vllm
kind: Deployment
apiVersion: apps/v1
replicas:
min: 0
max: 1
# Scaling metric - best for "wake on first request" use case
host: openclaw-brain-service.customer1.svc.cluster.local
targetPendingRequests: 1
# Cooldown before scaling down (15 minutes idle)
scaledownPeriod: 900