2024-10-02 19:06:27 -04:00
|
|
|
kind: HTTPScaledObject
|
|
|
|
apiVersion: http.keda.sh/v1alpha1
|
|
|
|
metadata:
|
|
|
|
name: techaro-lol
|
|
|
|
spec:
|
|
|
|
hosts:
|
|
|
|
- techaro.lol
|
|
|
|
targetPendingRequests: 100
|
|
|
|
scaleTargetRef:
|
|
|
|
name: techaro-lol
|
|
|
|
kind: Deployment
|
|
|
|
apiVersion: apps/v1
|
|
|
|
service: techaro-lol
|
|
|
|
port: 80
|
|
|
|
replicas:
|
2024-10-09 09:43:01 -04:00
|
|
|
min: 0
|
2024-10-02 19:06:27 -04:00
|
|
|
max: 10
|
|
|
|
scaledownPeriod: 300
|
|
|
|
scalingMetric:
|
|
|
|
requestRate:
|
|
|
|
granularity: 1s
|
|
|
|
targetValue: 100
|
|
|
|
window: 1m
|