Skip to content

Commit

Permalink
Add priority class to SR-IOV daemonsets
Browse files Browse the repository at this point in the history
https://bugzilla.redhat.com/show_bug.cgi?id=1960574

Signed-off-by: Zenghui Shi <zshi@redhat.com>
  • Loading branch information
zshi-redhat committed May 18, 2021
1 parent e3a296a commit c173ca6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions bindata/manifests/daemon/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ spec:
tolerations:
- operator: Exists
serviceAccountName: sriov-network-config-daemon
priorityClassName: "system-node-critical"
containers:
- name: sriov-network-config-daemon
image: {{.Image}}
Expand Down
1 change: 1 addition & 0 deletions bindata/manifests/operator-webhook/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
app: operator-webhook
spec:
serviceAccountName: operator-webhook-sa
priorityClassName: "system-cluster-critical"
nodeSelector:
beta.kubernetes.io/os: linux
node-role.kubernetes.io/master:
Expand Down
1 change: 1 addition & 0 deletions bindata/manifests/plugins/sriov-cni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ spec:
tolerations:
- operator: Exists
serviceAccountName: sriov-cni
priorityClassName: "system-node-critical"
containers:
- name: sriov-cni
image: {{.SRIOVCNIImage}}
Expand Down
1 change: 1 addition & 0 deletions bindata/manifests/plugins/sriov-device-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spec:
tolerations:
- operator: Exists
serviceAccountName: sriov-device-plugin
priorityClassName: "system-node-critical"
containers:
- name: sriov-device-plugin
image: {{.SRIOVDevicePluginImage}}
Expand Down
1 change: 1 addition & 0 deletions bindata/manifests/webhook/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
openshift.io/component: network
spec:
serviceAccountName: network-resources-injector-sa
priorityClassName: "system-cluster-critical"
nodeSelector:
beta.kubernetes.io/os: linux
node-role.kubernetes.io/master:
Expand Down

0 comments on commit c173ca6

Please sign in to comment.