diff --git a/cmd/sgx_plugin/README.md b/cmd/sgx_plugin/README.md index 7632c718..a9dfd889 100644 --- a/cmd/sgx_plugin/README.md +++ b/cmd/sgx_plugin/README.md @@ -113,9 +113,13 @@ The first approach involves deployment of the [SGX DaemonSet YAML](/deployments/ and [node-feature-discovery](/deployments/nfd/overlays/sgx/kustomization.yaml) with the necessary configuration. -There is a kustomization for deploying everything: +The following kustomizations are needed for deploying everything: ```bash -$ kubectl apply -k https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/sgx_plugin/overlays/epc-nfd/ +# first, deploy NFD and the necessary NodeFeatureRules +$ kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd/overlays/sgx' +$ kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd/overlays/node-feature-rules' +# and then, deploy SGX plugin +$ kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/sgx_plugin/overlays/epc-nfd/' ``` The second approach has a lesser deployment footprint. It does not require NFD, but a helper daemonset that creates `sgx.intel.com/capable='true'` node label and advertises EPC capacity to the API server. diff --git a/deployments/sgx_plugin/overlays/epc-nfd/kustomization.yaml b/deployments/sgx_plugin/overlays/epc-nfd/kustomization.yaml index ed888f6c..418917ed 100644 --- a/deployments/sgx_plugin/overlays/epc-nfd/kustomization.yaml +++ b/deployments/sgx_plugin/overlays/epc-nfd/kustomization.yaml @@ -1,7 +1,5 @@ bases: - ../../base - - ../../../nfd/overlays/sgx - - ../../../nfd/overlays/node-feature-rules - ../../../sgx_admissionwebhook/overlays/default-with-certmanager patches: - path: add-epc-nfd-initcontainer.yaml