Skip to content

Commit 66bf8b7

Browse files
Merge pull request #4708 from RishabhSaini/priorityClass
OCPBUGS-44758: Set priority class for machine-os-builder
2 parents 9a8ee32 + 242572e commit 66bf8b7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

manifests/machineosbuilder/deployment.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,22 @@ spec:
2222
args:
2323
- start
2424
- -v4
25+
resources:
26+
requests:
27+
cpu: 20m
28+
memory: 50Mi
29+
terminationMessagePolicy: FallbackToLogsOnError
2530
serviceAccountName: machine-os-builder
31+
priorityClassName: "system-cluster-critical"
32+
tolerations:
33+
- key: node-role.kubernetes.io/master
34+
operator: Exists
35+
effect: "NoSchedule"
36+
- key: "node.kubernetes.io/unreachable"
37+
operator: "Exists"
38+
effect: "NoExecute"
39+
tolerationSeconds: 120
40+
- key: "node.kubernetes.io/not-ready"
41+
operator: "Exists"
42+
effect: "NoExecute"
43+
tolerationSeconds: 120

0 commit comments

Comments
 (0)