Files
my-rook-config/deploy/examples/monitoring/keda-rgw.yaml
T

19 lines
459 B
YAML
Raw Normal View History

apiVersion: keda.sh/v1alpha1
2021-11-18 16:05:54 +05:30
kind: ScaledObject
metadata:
name: rgw-scale
namespace: rook-ceph
spec:
scaleTargetRef:
kind: Deployment
name: rook-ceph-rgw-my-store-a
2021-11-18 16:05:54 +05:30
minReplicaCount: 1
maxReplicaCount: 5
triggers:
- type: prometheus
metadata:
serverAddress: http://rook-prometheus.rook-ceph.svc:9090
metricName: ceph_rgw_put_collector
query: |
sum(rate(ceph_rgw_put[2m]))
threshold: "90"