-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
manager.yaml
91 lines (91 loc) · 2.34 KB
/
manager.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: keda-operator
namespace: keda
labels:
app: keda-operator
app.kubernetes.io/name: keda-operator
app.kubernetes.io/version: latest
app.kubernetes.io/component: operator
app.kubernetes.io/part-of: keda-operator
spec:
replicas: 1
selector:
matchLabels:
app: keda-operator
template:
metadata:
labels:
app: keda-operator
name: keda-operator
name: keda-operator
spec:
securityContext:
runAsNonRoot: true
serviceAccountName: keda-operator
containers:
- name: keda-operator
image: ghcr.io/kedacore/keda:latest
command:
- /keda
args:
- --leader-elect
- --zap-log-level=info
- --zap-encoder=console
- --zap-time-encoding=rfc3339
- --enable-cert-rotation=true
imagePullPolicy: Always
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
memory: 1000Mi
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 25
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 20
ports:
- containerPort: 8080
name: http
protocol: TCP
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: WATCH_NAMESPACE
value: ""
- name: KEDA_HTTP_DEFAULT_TIMEOUT
value: ""
securityContext:
runAsNonRoot: true
capabilities:
drop:
- ALL
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /certs
name: certificates
readOnly: true
terminationGracePeriodSeconds: 10
nodeSelector:
kubernetes.io/os: linux
volumes:
- name: certificates
secret:
defaultMode: 420
secretName: kedaorg-certs
optional: true