Skip to content

Commit

Permalink
Merge pull request openshift#522 from derekwaynecarr/priority
Browse files Browse the repository at this point in the history
manifests: set priority class
  • Loading branch information
openshift-merge-robot committed Mar 3, 2019
2 parents 51d77bc + b87ae2a commit fc1a99e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions install/0000_30_machine-config-operator_04_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ spec:
mountPath: /etc/mco/images
nodeSelector:
node-role.kubernetes.io/master: ""
priorityClassName: "system-cluster-critical"
restartPolicy: Always
securityContext:
runAsNonRoot: true
Expand Down
1 change: 1 addition & 0 deletions manifests/machineconfigcontroller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
serviceAccountName: machine-config-controller
nodeSelector:
node-role.kubernetes.io/master: ""
priorityClassName: "system-cluster-critical"
restartPolicy: Always
tolerations:
- key: "node-role.kubernetes.io/master"
Expand Down
1 change: 1 addition & 0 deletions manifests/machineconfigdaemon/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ spec:
effect: NoSchedule
nodeSelector:
beta.kubernetes.io/os: linux
priorityClassName: "system-node-critical"
volumes:
- name: rootfs
hostPath:
Expand Down
1 change: 1 addition & 0 deletions manifests/machineconfigserver/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spec:
hostNetwork: true
nodeSelector:
node-role.kubernetes.io/master: ""
priorityClassName: "system-cluster-critical"
serviceAccountName: machine-config-server
tolerations:
- key: node-role.kubernetes.io/master
Expand Down
3 changes: 3 additions & 0 deletions pkg/operator/assets/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fc1a99e

Please sign in to comment.