Customize Containerd Settings
/etc/cri/conf.d/20-customization.part
.
containerd
CRI plugin has a reference to the pause
image which is used
to create pods, and it canβt be controlled with Kubernetes pod definitions.
pause
image is set to registry.k8s.io/pause:3.8
:
["/etc/cdi", "/var/run/cdi"]
.
Since /etc is not writable in Talos, CDI does not work for Dynamic Resource Allocation out of the box.
To be able to use CDI and DRA modify the cdi spec dirs to writable locations like so:
containerd
, as they might have security implications.
However, if you need to enable them, you can do so by adding the following configuration: