- Go to Operator -> Installed Operators.
- Open Intel Device Plugins Operator.
- Navigate to tab Intel Software Guard Extensions Device Plugin.
- Click Create SgxDevicePlugin -> set correct parameters -> Click Create
- Optional: If you want to make any customizations, select YAML view and edit the details. When you are done, click Create.
- Verify CR by checking the status of Workloads -> DaemonSet -> intel-sgx-plugin.
- Now
SgxDevicePlugin
is created.
Apply the CR yaml file:
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/device_plugins/sgx_device_plugin.yaml
Verify that the device plugin CR is ready:
$ oc get SgxDevicePlugin
Output:
NAME DESIRED READY NODE SELECTOR AGE
sgxdeviceplugin-sample 1 1 {"intel.feature.node.kubernetes.io/sgx":"true"} 2m