Kubernetes device plugin based on intel-device-plugin-for-kubernetes
The device plugin runs as a DaemonSet
to register a TPM with the kubelet.
To install
helm repo add k8s-tpm-device https://boxboat.github.io/k8s-tpm-device/chart
helm repo update
helm upgrade install k8s-tpm-device --namespace tpm-device --create-namespace k8s-tpm-device/k8s-tpm-device
Add this resource limit to grant the desired container access to /dev/tpmrm0
resources:
limits:
tpm.boxboat.io/tpmrm: '1'