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

feat: support nic-hotplug to a running pod. #2521

Merged
merged 1 commit into from
Mar 23, 2023
Merged

feat: support nic-hotplug to a running pod. #2521

merged 1 commit into from
Mar 23, 2023

Conversation

xujunjie-cover
Copy link
Member

What type of this PR

Examples of user facing changes:

  • Features

Support hotplug and unhotplug nic to a running pod.

Which issue(s) this PR fixes:

Fixes #2520

@zhangzujian zhangzujian added the feature New network feature label Mar 21, 2023
return
}

needUnHotPlug, needHotPlug := diffKubeovnNets(oldPodNets, podNets)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needUnHotPlug -> needHotUnPlug

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

related name should all be changed

@@ -324,10 +324,25 @@ func (c *Controller) enqueueUpdatePod(oldObj, newObj interface{}) {
}()
return
}
// hotplug or unhotplug nic
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unhotplug -> hot unplug

@oilbeater oilbeater merged commit 7e6feab into kubeovn:master Mar 23, 2023
@oilbeater
Copy link
Collaborator

Great work, thanks! @xujunjie-cover

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

Successfully merging this pull request may close these issues.

Feat: Support hotplug nic to pod.
3 participants