Skip to content

Commit 5814316

Browse files
committed
deployments: add priorityClass to SGX since it serves runtime plugins
Signed-off-by: Mikko Ylinen <[email protected]>
1 parent 8eeb8ac commit 5814316

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

+1
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

+1
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)