Skip to content

Conversation

@santhoshmprabhu
Copy link
Contributor

@santhoshmprabhu santhoshmprabhu commented Oct 18, 2024

Reason for Change:
This PR completes the implementation of CNS support for nodesubnet, so that we may use Cilium with nodesubnet. This PR includes the following changes:

  1. "AzureHost" channel mode to configure fetch of IP addresses from NMAgent into CNS
  2. Asynchronous IP fetcher in CNS to do the above IP fetch
  3. Statefile reconciliation without NNCs

The changes have been validated with E2E runs, though the pipeline changes are to be merged in a separate PR (#3083).

Issue Fixed:

Cilium nodesubnet support

Requirements:

Notes:

@santhoshmprabhu santhoshmprabhu requested review from a team as code owners October 18, 2024 04:48
@santhoshmprabhu santhoshmprabhu self-assigned this Oct 18, 2024
@santhoshmprabhu santhoshmprabhu added work-in-progress cns Related to CNS. go Pull requests that update Go code labels Oct 18, 2024
@santhoshmprabhu
Copy link
Contributor Author

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

santhoshmprabhu and others added 3 commits October 22, 2024 14:13
Co-authored-by: Timothy J. Raymond <[email protected]>
Signed-off-by: Santhosh  Prabhu  <[email protected]>
Co-authored-by: Timothy J. Raymond <[email protected]>
Signed-off-by: Santhosh  Prabhu  <[email protected]>
@santhoshmprabhu
Copy link
Contributor Author

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@santhoshmprabhu
Copy link
Contributor Author

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@timraymond
Copy link
Member

timraymond commented Oct 30, 2024

LGTM. Delegating approval to others with outstanding comments.

@santhoshmprabhu
Copy link
Contributor Author

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@santhoshmprabhu
Copy link
Contributor Author

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@santhoshmprabhu santhoshmprabhu added this pull request to the merge queue Nov 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 4, 2024
@santhoshmprabhu santhoshmprabhu added this pull request to the merge queue Nov 4, 2024
@santhoshmprabhu santhoshmprabhu removed this pull request from the merge queue due to a manual request Nov 4, 2024
@santhoshmprabhu
Copy link
Contributor Author

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@santhoshmprabhu santhoshmprabhu added this pull request to the merge queue Nov 5, 2024
Merged via the queue into master with commit 1c1bbaa Nov 5, 2024
14 checks passed
@santhoshmprabhu santhoshmprabhu deleted the sanprabhu/cilium-node-subnet branch November 5, 2024 03:04
sivakami-projects pushed a commit that referenced this pull request Oct 23, 2025
* feat: support for cilium + nodesubnet

* fix: make linter happy

* fix: make linter happy

* fix: make linter happy

* test: add test for nodesubnet

* chore: add missing files

* nicer comment

* chore: fix comment typo

* fix: update cns/restserver/nodesubnet.go

Co-authored-by: Timothy J. Raymond <[email protected]>
Signed-off-by: Santhosh  Prabhu  <[email protected]>

* fix: update cns/restserver/restserver.go

Co-authored-by: Timothy J. Raymond <[email protected]>
Signed-off-by: Santhosh  Prabhu  <[email protected]>

* refactor: address comments

* fix: address comments

* chore:comment cleanup

* fix: do not use bash in ip config update

* fix: address comments

* fix: make linter happy

* chore: move pipeline changes out

* test: more elaborate test including checks on IP pool state

* fix: use comments suitable for documentation

Co-authored-by: Timothy J. Raymond <[email protected]>
Signed-off-by: Santhosh  Prabhu  <[email protected]>

* chore: address comments

* chore:make linter happy

* fix: address comments

* chore: typo

* chore: address comments

* fix: update comments

---------

Signed-off-by: Santhosh  Prabhu  <[email protected]>
Co-authored-by: Timothy J. Raymond <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cns Related to CNS. go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants