Skip to content

Commit

Permalink
DaemonSet, Add Priority class
Browse files Browse the repository at this point in the history
Add system-node-critical to macvtap-cni DaemonSet.
Since macvtap-cni pod should run on each node,
assign system-node-critical pc to it.
This will make the control plane less sensitive to preemption
than user workloads.

Signed-off-by: Or Shoval <oshoval@redhat.com>
  • Loading branch information
oshoval committed Jun 17, 2021
1 parent f6ec806 commit e7a06a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/macvtap.yaml
Expand Up @@ -14,6 +14,7 @@ spec:
spec:
hostNetwork: true
hostPID: true
priorityClassName: system-node-critical
containers:
- name: macvtap-cni
command: ["/macvtap-deviceplugin", "-v", "3", "-logtostderr"]
Expand Down
1 change: 1 addition & 0 deletions templates/macvtap.yaml.in
Expand Up @@ -14,6 +14,7 @@ spec:
spec:
hostNetwork: true
hostPID: true
priorityClassName: system-node-critical
containers:
- name: macvtap-cni
command: ["/macvtap-deviceplugin", "-v", "3", "-logtostderr"]
Expand Down

0 comments on commit e7a06a8

Please sign in to comment.