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 c876e22

Browse files
committedFeb 8, 2024
deployments: add priorityClass to SGX since it serves runtime plugins
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
1 parent 8ff85a1 commit c876e22

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
@@ -13,6 +13,7 @@ spec:
1313
labels:
1414
app: intel-sgx-plugin
1515
spec:
16+
priorityClassName: system-node-critical
1617
automountServiceAccountToken: false
1718
containers:
1819
- name: intel-sgx-plugin

‎pkg/controllers/sgx/controller_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
6363
},
6464
},
6565
Spec: v1.PodSpec{
66+
PriorityClassName: "system-node-critical",
6667
AutomountServiceAccountToken: &no,
6768
Containers: []v1.Container{
6869
{

0 commit comments

Comments
 (0)
Please sign in to comment.