-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy path99_must-gather-operator.Deployment.yaml
More file actions
56 lines (56 loc) · 1.65 KB
/
99_must-gather-operator.Deployment.yaml
File metadata and controls
56 lines (56 loc) · 1.65 KB
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: must-gather-operator
namespace: must-gather-operator
spec:
replicas: 1
selector:
matchLabels:
name: must-gather-operator
template:
metadata:
labels:
name: must-gather-operator
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: node-role.kubernetes.io/infra
operator: Exists
weight: 1
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/infra
operator: Exists
serviceAccountName: must-gather-operator
containers:
- name: must-gather-operator
# Replace this with the built image name
image: quay.io/openshift/origin-must-gather-operator:latest
command:
- must-gather-operator
imagePullPolicy: Always
resources:
limits:
memory: "1Gi"
cpu: "100m"
env:
- name: OPERATOR_NAME
value: must-gather-operator
- name: DEFAULT_MUST_GATHER_IMAGE
value: quay.io/openshift/origin-must-gather:latest
- name: OPERATOR_IMAGE
value: quay.io/openshift/origin-must-gather-operator:latest
- name: OPERATOR_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: WATCH_NAMESPACE
value: ""