Skip to content

Commit

Permalink
deployments: add priorityClass to SGX since it serves runtime plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi committed May 8, 2024
1 parent 1780fbe commit 0b70ce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions deployments/sgx_plugin/base/intel-sgx-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spec:
labels:
app: intel-sgx-plugin
spec:
priorityClassName: system-node-critical
automountServiceAccountToken: false
containers:
- name: intel-sgx-plugin
Expand Down
1 change: 1 addition & 0 deletions pkg/controllers/sgx/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
},
},
Spec: v1.PodSpec{
PriorityClassName: "system-node-critical",
AutomountServiceAccountToken: &no,
Containers: []v1.Container{
{
Expand Down

0 comments on commit 0b70ce4

Please sign in to comment.