This topic describes the features of the sgx-device-plugin add-on and lists its release history.
Features
-
Run SGX workloads without privileged mode.
-
Detect and report available EPC size per node.
-
Declare EPC requirements in pod specs with standard Kubernetes resource fields.
Dependencies
| Dependency | Requirement |
|---|---|
| TEE-SDK | Compatible with Intel SGX and SGX Platform Software (PSW) |
| Kubernetes | V1.10 or later |
| Go | V1.10 or later |
Usage notes
Installed by default in ACK clusters. No additional configuration required.
FAQ
Can sgx-device-plugin be deployed in a private cluster?
Yes. sgx-device-plugin can be deployed in any Kubernetes cluster type. It only runs on SGX-capable nodes.
Can sgx-device-plugin control the EPC size inside a running container?
No. kube-scheduler uses alibabacloud.com/sgx_epc_MiB only to select nodes with sufficient EPC. Intel SGX Driver does not support this parameter.
Is sgx-device-plugin open source?
Yes. The source code is available at github.com/AliyunContainerService/sgx-device-plugin.
Release notes
September 2023
| Version | Image address | Date | Changes | Impact |
|---|---|---|---|---|
| v1.1.0-bb1f5f9-aliyun | registry.cn-hangzhou.aliyuncs.com/acs/sgx-device-plugin:v1.1.0-bb1f5f9-aliyun | September 13, 2023 | Added support for SGX 2. | No action required. Does not affect running workloads. |
April 2021
| Version | Image address | Date | Changes | Impact |
|---|---|---|---|---|
| v1.1.0-bb1f5f9-aliyun | registry.cn-hangzhou.aliyuncs.com/acs/sgx-device-plugin:v1.1.0-bb1f5f9-aliyu | April 30, 2021 | Initial release. Enables unprivileged SGX workloads, automatic EPC detection, and declarative EPC allocation. | No action required. No impact on existing workloads. |