Merge pull request #64 from sirius0xdev/feat/optimize-rtx6000-vllm-keda-scaling

feat: optimize RTX6000 vLLM KEDA scaling
This commit is contained in:
sirius0xdev 2026-04-29 00:18:40 -04:00 committed by GitHub
commit 9ea9d08f2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 7 deletions

View file

@ -1,17 +1,22 @@
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
apiVersion: http.keda.sh/v1alpha1
kind: HTTPScaledObject
metadata:
name: rtx6000-scaling
namespace: customer1
spec:
hosts:
- rtx6000-brain-service.customer1.svc.cluster.local
scaleTargetRef:
name: rtx6000-brain-vllm
kind: Deployment
apiVersion: apps/v1
hosts:
- rtx6000-brain-service.customer1.svc.cluster.local
service: rtx6000-brain-service
port: 8000
paths:
- path: "^/v1/(chat/)?completions"
replicas:
min: 0
max: 1
targetPendingRequests: 1
pollingInterval: 10
cooldownPeriod: 30
scaledownPeriod: 900

View file

@ -2,12 +2,12 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: openclaw-brain-vllm
name: rtx6000-brain-vllm
namespace: customer1
labels:
app: rtx6000-brain
spec:
replicas: 1
replicas: 0
selector:
matchLabels:
app: rtx6000-brain