intel-device-plugins-for-ku.../deployments/sgx_plugin/base/intel-sgx-plugin.yaml
Mikko Ylinen a5f648077e sgx: add NFD EPC source, README and deployment YAMLs
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-08-24 16:33:45 +03:00

35 lines
811 B
YAML

apiVersion: apps/v1
kind: DaemonSet
metadata:
name: intel-sgx-plugin
labels:
app: intel-sgx-plugin
spec:
selector:
matchLabels:
app: intel-sgx-plugin
template:
metadata:
labels:
app: intel-sgx-plugin
spec:
containers:
- name: intel-sgx-plugin
image: intel/intel-sgx-plugin:devel
securityContext:
readOnlyRootFilesystem: true
imagePullPolicy: IfNotPresent
volumeMounts:
- name: kubeletsockets
mountPath: /var/lib/kubelet/device-plugins
- name: sgxdevices
mountPath: /dev/sgx
readOnly: true
volumes:
- name: kubeletsockets
hostPath:
path: /var/lib/kubelet/device-plugins
- name: sgxdevices
hostPath:
path: /dev/sgx