Skip to content

Conversation

@pjohnst5
Copy link
Contributor

@pjohnst5 pjohnst5 commented Jul 7, 2020

Reason for Change:
This is a feature for CNS request controller to reconcile the CNS state on a reboot.

What it does
Added new method InitCNS() to crdRequestController which gets pods on the node, gets nodenetconfig, and passes them to cns

Other minor touches

  • Got rid of unused ObjectType
  • Updated main.go example for request controller usage

@pjohnst5 pjohnst5 added the cns Related to CNS. label Jul 7, 2020
@codecov
Copy link

codecov bot commented Jul 7, 2020

Codecov Report

Merging #603 into master will decrease coverage by 0.54%.
The diff coverage is 26.61%.

@@            Coverage Diff             @@
##           master     #603      +/-   ##
==========================================
- Coverage   42.78%   42.23%   -0.55%     
==========================================
  Files          70       72       +2     
  Lines        9852     9985     +133     
==========================================
+ Hits         4215     4217       +2     
- Misses       5180     5316     +136     
+ Partials      457      452       -5     

@pjohnst5 pjohnst5 force-pushed the reconcile-on-start branch from 0d08d13 to 5a4ec4c Compare July 21, 2020 19:29
@pjohnst5 pjohnst5 merged commit 8b84b70 into Azure:master Jul 22, 2020
@pjohnst5 pjohnst5 deleted the reconcile-on-start branch July 22, 2020 01:58
neaggarwMS pushed a commit to neaggarwMS/azure-container-networking that referenced this pull request Nov 13, 2020
* request controller to init cns state on startup or reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cns Related to CNS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants