Deploy the Intel SGX Device Plugin for Kubernetes

The instructions in this section are modified from the Intel SGX Device Plugin homepage, to which please refer should questions arise.


Prerequisites for building and running these device plugins include:

Here we would want to deploy the plugin as a DaemonSet, so pull the source code. In the working directory, compile with

make intel-sgx-plugin
make intel-sgx-initcontainer

Deploy the DaemonSet with

kubectl apply -k deployments/sgx_plugin/overlays/epc-register/

Verify with (replace the <node name> with your own node name)

kubectl describe node <node name> | grep