-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathdeployment.yaml
66 lines (66 loc) · 1.66 KB
/
deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: keda-metrics-apiserver
app.kubernetes.io/name: keda-metrics-apiserver
app.kubernetes.io/version: latest
app.kubernetes.io/part-of: keda-operator
name: keda-metrics-apiserver
namespace: keda
spec:
replicas: 1
selector:
matchLabels:
app: keda-metrics-apiserver
template:
metadata:
labels:
app: keda-metrics-apiserver
name: keda-metrics-apiserver
spec:
serviceAccountName: keda-operator
containers:
- name: keda-metrics-apiserver
image: docker.io/kedacore/keda-metrics-apiserver:latest
imagePullPolicy: Always
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
memory: 1000Mi
livenessProbe:
httpGet:
scheme: HTTPS
path: /healthz
port: 6443
initialDelaySeconds: 5
readinessProbe:
httpGet:
scheme: HTTPS
path: /readyz
port: 6443
initialDelaySeconds: 5
env:
- name: WATCH_NAMESPACE
value: ""
args:
- /usr/local/bin/keda-adapter
- --secure-port=6443
- --logtostderr=true
- --v=0
ports:
- containerPort: 6443
name: https
- containerPort: 8080
name: http
volumeMounts:
- mountPath: /tmp
name: temp-vol
nodeSelector:
beta.kubernetes.io/os: linux
volumes:
- name: temp-vol
emptyDir: {}