Skip to content

Streamline SRIOV workflow: Generate DevicePlugin ConfigMap and restart DP Pods #24

@xagent003

Description

@xagent003

Currently it's a bit clunky. The SRIOV VFs and ConfigMap need to be created first. Otherwise the deviceplugin will not start. I had filed an issue on this upstream, that the DP should monitor or continuously poll for the configMap: k8snetworkplumbingwg/sriov-network-device-plugin#276

For now, HostPlumber should:

  • Automatically create the sriov-dpconfig ConfigMap based on the sriovConfig. (with the caveat that EVERY VF created by HostPlumber is available and allocated to K8S since there would be a 1:1 mapping between the two)
  • And then search for the device-plugin deployment Pods, and automatically restart them.

This way you can deploy sriov along with all the other plugins in Luigi. Then use HostPlumber's HostNetworkTemplate to configure SRIOV, and user need not create ConfigMap nor go back, and add sriov plugin to Luigi (or restart Pods themselves).

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