Skip to content

Multi nic support with SR-IOV #1

@tamilmani1989

Description

@tamilmani1989

The requirement is to allocate and attach a secondary SR-IOV NIC to a pod. The DRA driver discovers secondary SR-IOV NIC resources on the node and publishes them as ResourceSlice objects. Users then request the required secondary NICs for their pods through a ResourceClaim.

During pod creation, kubelet invokes DRA via PrepareResource, passing the pod and assigned NIC details. As part of RunPodSandbox, the NRI hook is triggered and is responsible for moving the corresponding secondary NIC into the pod’s network namespace. Finally, DRA/NRI must configure the necessary routes and policy rules so that traffic ingressing on the secondary NIC also egresses through the same interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions