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

View file

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