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 Aug 21, 2024
1 parent 1e86d4c commit ce38f8d
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 @@ -18,6 +18,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 @@ -74,6 +74,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 ce38f8d

Please sign in to comment.