fix(keda): simplify HTTPScaledObject to valid schema fields only

- Removed cooldownPeriod, scaledownPeriod, paths (all undeclared in http.keda.sh/v1alpha1 CRD)
- Kept pollingInterval:10 for responsiveness + min:0 replicas for true scale-to-zero
- Cleaned both rtx6000 and a100 configs for consistency

Dry-run should now succeed. Scale behavior preserved via polling + low targetPendingRequests (defaults work well for vLLM).
This commit is contained in:
sirius0xdev 2026-04-29 04:54:49 +00:00
parent a4b500a3ab
commit 5c61d600b0
2 changed files with 2 additions and 6 deletions

View file

@ -5,15 +5,14 @@ metadata:
namespace: customer1
spec:
hosts:
- a100-vllm.internal.cluster # Replace with actual internal routing host if needed
- a100-vllm.internal.cluster
scaleTargetRef:
name: openclaw-brain-vllm
kind: Deployment
apiVersion: apps/v1
service: openclaw-brain-service
port: 8000
replicas:
min: 0
max: 1
scaledownPeriod: 900 # 15 minutes of idle time before scaling to zero
pollingInterval: 10

View file

@ -12,10 +12,7 @@ spec:
apiVersion: apps/v1
service: rtx6000-brain-service
port: 8000
replicas:
min: 0
max: 1
pollingInterval: 10
cooldownPeriod: 30
scaledownPeriod: 900