Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xagent003 opened this issue Feb 12, 2022 · 0 comments

Comments

@xagent003
Copy link
Contributor

xagent003 commented Feb 12, 2022

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant