-
Spike
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
5
-
None
-
OCP Node Sprint 268 (Green)
This task explores a possibility of converting existing instaslice MIG creation activity in a kubernete device plugin. This allows us to use the `Allocate` method from the device plugin API, which is called just before pod creation, to create the MIG slice.
Also, this could potentially get rid of the MIG UUID vulnerability in instaslice which uses configmaps to set MIG UUIDs. Instead of creating the configmap, a device plugin can set ContainerAllocateResponse.Envs to set the MIG UUID. Fingers crossed, hopefully it works as I understood from the documentation below.
https://pkg.go.dev/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1#ContainerAllocateResponse