Uploaded image for project: 'OpenShift Node'
  1. OpenShift Node
  2. OCPNODE-3021

PoC device plugin in instaslice daemonset

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • 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

              harpatil@redhat.com Harshal Patil
              harpatil@redhat.com Harshal Patil
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: