-
Notifications
You must be signed in to change notification settings - Fork 0
/
keda.yml
35 lines (35 loc) · 706 Bytes
/
keda.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: phase2-scaledobject
namespace: sdtd
spec:
scaleTargetRef:
name: phase2
pollingInterval: 10
maxReplicaCount: 25
triggers:
- type: kafka
metadata:
bootstrapServers: kafka-svc.sdtd:9092
consumerGroup: my-group
topic: phase1
lagThreshold: "15"
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: phase3-scaledobject
namespace: sdtd
spec:
scaleTargetRef:
name: phase3
pollingInterval: 10
maxReplicaCount: 25
triggers:
- type: kafka
metadata:
bootstrapServers: kafka-svc.sdtd:9092
consumerGroup: my-group
topic: phase3
lagThreshold: "15"