mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
deployments: fix kubectl SGX w/ NFD instructions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
parent
4d96c1b49d
commit
1090c12c74
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user