-
Notifications
You must be signed in to change notification settings - Fork 43
/
manager.template.yaml
59 lines (59 loc) · 1.44 KB
/
manager.template.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: operator
namespace: kubevirt
labels:
control-plane: ssp-operator
spec:
selector:
matchLabels:
control-plane: ssp-operator
replicas: 1
template:
metadata:
labels:
control-plane: ssp-operator
prometheus.kubevirt.io: ""
spec:
serviceAccountName: ssp-operator
priorityClassName: system-cluster-critical
securityContext:
runAsNonRoot: true
containers:
- command:
- /manager
args: ["--leader-elect"]
env:
- name: KVM_INFO_IMAGE
- name: VALIDATOR_IMAGE
value: "$VALIDATOR_IMG"
- name: VIRT_LAUNCHER_IMAGE
- name: NODE_LABELLER_IMAGE
- name: CPU_PLUGIN_IMAGE
- name: OPERATOR_VERSION
image: controller:latest
name: manager
resources:
requests:
memory: "150Mi"
cpu: "100m"
securityContext:
allowPrivilegeEscalation: false
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
ports:
- name: metrics
protocol: TCP
containerPort: 8443
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
terminationGracePeriodSeconds: 10