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

Restart device plugin pod after node policy applied #180

Closed
wants to merge 1 commit into from

Conversation

e0ne
Copy link
Collaborator

@e0ne e0ne commented Sep 7, 2021

We need to restart device plugin pod after node policy applied
and all SR-IOV Network Config Daemon plugins finished. E.g.:

Generic plugin applies SR-IOV Network Node Policy and creates
VFs. That's mean we need to restart device plugin pod to found
newly created devices.

Related k8snetworkplumbingwg/sriov-network-device-plugin#276

We need to restart device plugin pod after node policy applied
and all SR-IOV Network Config Daemon plugins finished. E.g.:

Generic plugin applies SR-IOV Network Node Policy and creates
VFs. That's mean we need to restart device plugin pod to found
newly created devices.

Related k8snetworkplumbingwg/sriov-network-device-plugin#276
@zshi-redhat
Copy link
Collaborator

@e0ne Could you help me understand why we need to move the restart of device plugin after the completeDrain?

@e0ne
Copy link
Collaborator Author

e0ne commented Sep 8, 2021

@zshi-redhat thanks for the review. the idea of my patch is to restart device plugin pod once after all sriov plugins applied. Digger deeper in the code, I agree that it should be done before completeDrain. It means this PR is the same as #173 but with different commit message

@e0ne
Copy link
Collaborator Author

e0ne commented Sep 8, 2021

it's duplicate of #173

@e0ne e0ne closed this Sep 8, 2021
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

Successfully merging this pull request may close these issues.

2 participants