fix(keda): correct HTTPScaledObject for A100 vLLM wake-on-request

- Use proper scaleTargetRef structure for http.keda.sh/v1alpha1
- Uncomment keda-vllm.yaml in kustomization
- This should allow Flux to reconcile the scaler
This commit is contained in:
Sirius Claw 2026-04-23 02:55:07 +00:00
parent 77e8adf7b7
commit fffe3f20d6
2 changed files with 5 additions and 13 deletions

View file

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

View file

@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
# - vllm-l4.yaml # - vllm-l4.yaml
#- keda-vllm.yaml - keda-vllm.yaml
- pvc.yaml - pvc.yaml
- new-configmap.yaml - new-configmap.yaml
- deployment.yaml - deployment.yaml