HTTPScaledObject CRD (http.keda.sh/v1alpha1) does not support .spec.paths field. Scaling now triggers on all HTTP requests to the host (health/liveness ignored via targetPendingRequests:1 + pollingInterval:10s). Refs https://keda.sh/docs/scalers/http-addon/
21 lines
426 B
YAML
21 lines
426 B
YAML
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
|
|
service: rtx6000-brain-service
|
|
port: 8000
|
|
|
|
replicas:
|
|
min: 0
|
|
max: 1
|
|
pollingInterval: 10
|
|
cooldownPeriod: 30
|
|
scaledownPeriod: 900
|