-
Notifications
You must be signed in to change notification settings - Fork 260
Publish/Unpublish Network Containers via CNS #430
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #430 +/- ##
=======================================
Coverage 52.66% 52.66%
=======================================
Files 28 28
Lines 4022 4022
=======================================
Hits 2118 2118
Misses 1631 1631
Partials 273 273Continue to review full report at Codecov.
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
ninzavivek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please close on whether it is ok to use nm agent url here or not?
|
|
it looks like you are anyway handling it. |
|
Reopening the PR which looks like was closed accidentally |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This change supports publishing/unpublishing NC via CNS. If the DNC config exposes the CNS connection URLs for publish and unpublish, DNC will make CNS call and have CNS publish and unpublish the NC. Failure to establish HTTP connection means the worker node may be deallocated. In such case DNC will publish/unpublish the NC from the node where DNC is running. Here is the CNS change in Azure Container Networking github repo: Azure#430 Before publishing / unpublishing the NC, CNS needs to make sure it joins the vnet to which the NC belongs to. PR URL: https://msazure.visualstudio.com/DefaultCollection/One/_git/Networking-Aquarius/pullrequest/2221382 Related work items: #5682508
Expose 2 APIs to publish and unpublish network containers from CNS.
a. PublishNetworkContainer
b. UnpublishNetworkContainer
DNC calls CNS to publish and unpublish the network containers.
What this PR does / why we need it:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
Release note: