-
Notifications
You must be signed in to change notification settings - Fork 23
/
keda_v1alpha1_kedacontroller.yaml
305 lines (263 loc) · 10.8 KB
/
keda_v1alpha1_kedacontroller.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
apiVersion: keda.sh/v1alpha1
kind: KedaController
metadata:
name: keda
namespace: keda
spec:
###
# THERE SHOULD BE ONLY ONE INSTANCE OF THIS RESOURCE PER CLUSTER
# with Name set to 'keda' created in namespace 'keda'
###
## Namespace that should be watched by KEDA,
# omit or set empty to watch all namespaces (default setting)
watchNamespace: ""
## KEDA Operator related config
operator:
## Logging level for KEDA Operator
# allowed values: 'debug', 'info', 'error', or an integer value greater than 0, specified as string
# default value: info
logLevel: info
## Logging format for KEDA Operator
# allowed values are json and console
# default value: console
logEncoder: console
## Logging time encoding for KEDA Controller
# allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano`
# default value: rfc3339
# logTimeEncoding: rfc3339
## CA Certificate ConfigMap Names
# ConfigMaps containing PEM-encoded trusted certificate authorities (CAs).
# The files from the ConfigMaps will be loaded by the KEDA operator during
# start-up and will be used by scalers to authenticate TLS-enabled metrics
# data sources.
# default value: []
# caConfigMaps: []
## Arbitrary arguments
# Define any argument with possibility to override already existing ones
# array of strings (format is either with prefix '--key=value' or just 'value')
# args: []
## Annotations to be added to the KEDA Operator Deployment
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
# deploymentAnnotations:
# annotationKey: annotationValue
## Labels to be added to the KEDA Operator Deployment
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# deploymentLabels:
# labelKey: labelValue
## Annotations to be added to the KEDA Operator Pod
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
# podAnnotations:
# annotationKey: annotationValue
## Labels to be added to the KEDA Operator Pod
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# podLabels:
# labelKey: labelValue
## Node selector for pod scheduling for KEDA Operator
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
# nodeSelector:
# beta.kubernetes.io/os: linux
## Tolerations for pod scheduling for KEDA Operator
# https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
# tolerations:
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoExecute"
## Affinity for pod scheduling for KEDA Operator
# https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
# affinity:
# podAntiAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# - labelSelector:
# matchExpressions:
# - key: app
# operator: In
# values:
# - keda-operator
# - keda-operator-metrics-apiserver
# topologyKey: "kubernetes.io/hostname"
## Pod priority for KEDA Operator
# https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
# priorityClassName: high-priority
## Manage resource requests & limits for KEDA Operator
# https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# resources:
# requests:
# cpu: 100m
# memory: 100Mi
# limits:
# cpu: 1000m
# memory: 1000Mi
## KEDA Metrics Server related config
metricsServer:
## Logging level for Metrics Server
# allowed values: "0" for info, "4" for debug, or an integer value greater than 0, specified as string
# default value: "0"
logLevel: "0"
## Arbitrary arguments
# Define any argument with possibility to override already existing ones
# array of strings (format is either with prefix '--key=value' or just 'value')
# args: []
## Audit Config
# https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/#audit-policy
# Define basic arguments for auditing log files. If needed, more complex flags
# can be set via 'Args' field manually.
# Non-empty 'policy' field is mandatory to enable logging.
# If 'logOutputVolumeClaim' is empty the audit log is printed to stdout,
# otherwise it points to the user defined PersistentVolumeClaim resource name.
# auditConfig:
# logFormat: "json"
# logOutputVolumeClaim: "persistentVolumeClaimName"
# policy:
# rules:
# - level: Metadata
# omitStages: "RequestReceived"
# omitManagedFields: false
# lifetime:
# maxAge: "2"
# maxBackup: "1"
# maxSize: "50"
## Annotations to be added to the KEDA Metrics Server Deployment
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
# deploymentAnnotations:
# annotationKey: annotationValue
## Labels to be added to the KEDA Metrics Server Deployment
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# deploymentLabels:
# labelKey: labelValue
## Annotations to be added to the KEDA Metrics Server Pod
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
# podAnnotations:
# annotationKey: annotationValue
## Labels to be added to the KEDA Metrics Server Pod
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# podLabels:
# labelKey: labelValue
## Node selector for pod scheduling for Metrics Server
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
# nodeSelector:
# beta.kubernetes.io/os: linux
## Tolerations for pod scheduling for KEDA Metrics Server
# https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
# tolerations:
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoExecute"
## Affinity for pod scheduling for KEDA Metrics Server
# https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
# affinity:
# podAntiAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# - labelSelector:
# matchExpressions:
# - key: app
# operator: In
# values:
# - keda-operator
# - keda-operator-metrics-apiserver
# topologyKey: "kubernetes.io/hostname"
## Pod priority for KEDA Metrics Server
# https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
# priorityClassName: high-priority
## Manage resource requests & limits for KEDA Metrics Server
# https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# resources:
# requests:
# cpu: 100m
# memory: 100Mi
# limits:
# cpu: 1000m
# memory: 1000Mi
## KEDA Admission Webhooks related config
admissionWebhooks:
## Logging level for KEDA Admission Webhooks
# allowed values: 'debug', 'info', 'error', or an integer value greater than 0, specified as string
# default value: info
logLevel: info
## Logging format for KEDA Admission Webhooks
# allowed values are json and console
# default value: console
logEncoder: console
## Logging time encoding for KEDA Admission Webhooks
# allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano`
# default value: rfc3339
# logTimeEncoding: rfc3339
## Arbitrary arguments
# Define any argument with possibility to override already existing ones.
# Array of strings (format is either with prefix '--key=value' or just 'value')
# args: []
## Annotations to be added to the KEDA Admission Webhooks Deployment
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
# deploymentAnnotations:
# annotationKey: annotationValue
## Labels to be added to the KEDA Admission Webhooks Deployment
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# deploymentLabels:
# labelKey: labelValue
## Annotations to be added to the KEDA Admission Webhooks Pod
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
# podAnnotations:
# annotationKey: annotationValue
## Labels to be added to the KEDA Admission Webhooks Pod
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# podLabels:
# labelKey: labelValue
## Node selector for pod scheduling for KEDA Admission Webhooks
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
# nodeSelector:
# beta.kubernetes.io/os: linux
## Tolerations for pod scheduling for KEDA Admission Webhooks
# https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
# tolerations:
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoExecute"
## Affinity for pod scheduling for KEDA Admission Webhooks
# https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
# affinity:
# podAntiAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# - labelSelector:
# matchExpressions:
# - key: app
# operator: In
# values:
# - keda-operator
# - keda-operator-metrics-apiserver
# topologyKey: "kubernetes.io/hostname"
## Pod priority for KEDA Admission Webhooks
# https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
# priorityClassName: high-priority
## Manage resource requests & limits for KEDA Admission Webhooks
# https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# resources:
# requests:
# cpu: 100m
# memory: 100Mi
# limits:
# cpu: 1000m
# memory: 1000Mi
## KEDA ServiceAccount related config
serviceAccount:
## Annotations to be added to the Service Account
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
# annotations:
# annotationKey: annotationValue
## Labels to be added to the ServiceAccount
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# labels:
# labelKey: labelValue