-
Notifications
You must be signed in to change notification settings - Fork 9
/
sd21-scaledobject.yaml
121 lines (121 loc) · 3.09 KB
/
sd21-scaledobject.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: sd21-l4-triton
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: sd21-l4-triton
minReplicaCount: 1
triggers:
- type: aws-cloudwatch
metadata:
namespace: "hw-agnostic-infer"
expression: SELECT SUM("sd21-l4-triton-counter") FROM SCHEMA("hw-agnostic-infer")
metricName: "sd21-l4-triton-counter"
minMetricValue: "0"
targetMetricValue: "60"
metricUnit: Count
awsRegion: us-west-2
authenticationRef:
name: keda-trigger-auth-aws-credentials
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: sd21-a10g-triton
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: sd21-a10g-triton
minReplicaCount: 1
triggers:
- type: aws-cloudwatch
metadata:
namespace: "hw-agnostic-infer"
expression: SELECT SUM("sd21-a10g-triton-counter") FROM SCHEMA("hw-agnostic-infer")
metricName: "sd21-a10g-triton-counter"
minMetricValue: "0"
targetMetricValue: "88"
metricUnit: Count
awsRegion: us-west-2
authenticationRef:
name: keda-trigger-auth-aws-credentials
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: sd21-a10g-cuda
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: sd21-a10g-cuda
minReplicaCount: 1
triggers:
- type: aws-cloudwatch
metadata:
namespace: "hw-agnostic-infer"
expression: SELECT SUM("sd21-a10g-cuda-counter") FROM SCHEMA("hw-agnostic-infer")
metricName: "sd21-a10g-cuda-counter"
minMetricValue: "0"
targetMetricValue: "63"
metricUnit: Count
awsRegion: us-west-2
authenticationRef:
name: keda-trigger-auth-aws-credentials
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: sd21-inf2
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: sd21-inf2
minReplicaCount: 1
triggers:
- type: aws-cloudwatch
metadata:
namespace: "hw-agnostic-infer"
expression: SELECT SUM("sd21-inf2-counter") FROM SCHEMA("hw-agnostic-infer")
metricName: "sd21-inf2-counter"
minMetricValue: "0"
targetMetricValue: "110"
metricUnit: Count
awsRegion: us-west-2
authenticationRef:
name: keda-trigger-auth-aws-credentials
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: sd21-trn1
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: sd21-trn1
minReplicaCount: 1
triggers:
- type: aws-cloudwatch
metadata:
namespace: "hw-agnostic-infer"
expression: SELECT SUM("sd21-trn1-counter") FROM SCHEMA("hw-agnostic-infer")
metricName: "sd21-trn1-counter"
minMetricValue: "0"
targetMetricValue: "120"
metricUnit: Count
awsRegion: us-west-2
authenticationRef:
name: keda-trigger-auth-aws-credentials
---