-
Notifications
You must be signed in to change notification settings - Fork 519
Conversation
@marosset @jsturtevant @mainred Please help to take a look at this PR. Expect your comments for the code logic. I will add unit tests and do more testing after you confirm the code logic. |
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.
Changes / logic look good so far.
Adding the kube-proxy flags to KubeClusterCongih is the right thing to do here.
pkg/api/types.go
Outdated
featureGates += "," | ||
} | ||
// WinOverlay must be set to false | ||
featureGates += "'WinDSR=true','WinOverlay=false'" |
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.
Is WinOverlay something users can set in the apimodel?
If so we should add a check in validation.go and warn/fail if both WinOverlay and WinDSR are set and they are mutally exclusive.
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.
Doesn't look like we had the ability to add features gates to the Windows kube-proxy prior to this.
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.
Agree with @jsturtevant, there is no other way to set feature gates to the Windows kube-proxy.
bcbc306
to
aa4cb59
Compare
@marosset @jsturtevant @mainred I have updated the PR and it is ready for code review. Please help to take a look. Thanks. |
Codecov Report
@@ Coverage Diff @@
## master #4104 +/- ##
==========================================
+ Coverage 73.23% 73.26% +0.03%
==========================================
Files 135 135
Lines 20625 20652 +27
==========================================
+ Hits 15104 15131 +27
Misses 4547 4547
Partials 974 974
Continue to review full report at Codecov.
|
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.
Do we need a doc for this, it looks good to me, but let upstream folks decide.
Thanks for reminder. I added a doc for |
@AbelHu do you know if we can use DSR with azure cni or another cni other than Calico? It would be nice to run tests against this configuration while Calico support is in the works. |
From my understanding, DSR is required by calico but DSR does not require Calico. I am asking the same question whether we can enable DSR by default in Windows nodes when k8s >= 1.20 Append one more information: We tested WinDSR with Calico when disabling Calico CNI.
|
Spoke with @jsturtevant and we can add testing in a later PR since we want to unblock calico support. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AbelHu, marosset The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I think we should have more end-user validation before making it default. |
Reason for Change:
Issue Fixed:
Fixes #4079
Credit Where Due:
Does this change contain code from or inspired by another project?
If "Yes," did you notify that project's maintainers and provide attribution?
Requirements: