Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit eac85c6

Browse files
committedSep 23, 2024·
deployments: add priorityClass to SGX since it serves runtime plugins
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
1 parent e3c0fd9 commit eac85c6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎deployments/sgx_plugin/base/intel-sgx-plugin.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ spec:
1818
labels:
1919
app: intel-sgx-plugin
2020
spec:
21+
priorityClassName: system-node-critical
2122
automountServiceAccountToken: false
2223
containers:
2324
- name: intel-sgx-plugin

‎pkg/controllers/sgx/controller_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
7474
},
7575
},
7676
Spec: v1.PodSpec{
77+
PriorityClassName: "system-node-critical",
7778
AutomountServiceAccountToken: &no,
7879
Containers: []v1.Container{
7980
{

0 commit comments

Comments
 (0)
Please sign in to comment.