mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
sgx: add kind deployment notes for aesmd
This commit is contained in:
parent
8f2d10cd34
commit
2d155edac7
@ -255,6 +255,22 @@ $ kubectl get pods
|
|||||||
intel-sgx-aesmd-mrnm8 1/1 Running 0 3h47m
|
intel-sgx-aesmd-mrnm8 1/1 Running 0 3h47m
|
||||||
sgxdeviceplugin-sample-z5dcq-llwlw 1/1 Running 0 28m
|
sgxdeviceplugin-sample-z5dcq-llwlw 1/1 Running 0 28m
|
||||||
```
|
```
|
||||||
|
> **Note**: For quick experiments, [kind](https://kind.sigs.k8s.io/docs/user/configuration/) can be used to deploy the cluster. With `kind`, host path `/var/run/aesmd/` must be mounted to the nodes manually using [Extra Mounts](https://kind.sigs.k8s.io/docs/user/configuration/#extra-mounts`). \
|
||||||
|
> Example:
|
||||||
|
>```
|
||||||
|
>$ cat kind_config.yaml
|
||||||
|
>kind: Cluster
|
||||||
|
>apiVersion: kind.x-k8s.io/v1alpha4
|
||||||
|
>name: <your_node_name>
|
||||||
|
>nodes:
|
||||||
|
>- role: control-plane
|
||||||
|
> extraMounts:
|
||||||
|
> - hostPath: /var/run/aesmd
|
||||||
|
> containerPath: /var/run/aesmd
|
||||||
|
> propagation: Bidirectional
|
||||||
|
>```
|
||||||
|
> And bootstrap kind with it \
|
||||||
|
> `$ kind create cluster --config kind_config.yaml`
|
||||||
|
|
||||||
The sample application runs SGX DCAP Quote Generation sample:
|
The sample application runs SGX DCAP Quote Generation sample:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user