Skip to content

Commit cb3cd37

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

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
@@ -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

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