-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Revert exported NoTrack rule function names. #15505
Conversation
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.
OK so these rules are targeting services rather than pod traffic, correct?
They are targeting pod traffic, it's just we would always want these when using node-local-dns regardless of the flag "InstallNoConntrackIptRules". |
Repurposed this PR, see updated title/PR description/commit msg, PTAL :) |
test-me-please |
retest-gke |
retest-4.9 |
hmm, I don't think the CI failure is caused by this change...retesting |
retest-gke |
retest-4.9 |
- revert `InstallEndpointNoTrackRules` to `InstallNoTrackRules` - revert `RemoveEndpointNoTrackRules` to `RemoveNoTrackRules` This would unbreak google's node-local-dns use case with Cilium. Signed-off-by: Weilong Cui <cuiwl@google.com>
test-me-please |
CI is green, PTAL |
Please have Jibi also review it. |
Are you planning to add a CI test to catch any regressions in this code? |
This regression is kinda a gap between upstream library function and our internal patch (we call these functions), I don't think a new test in Cilium repo is gonna catch this. I'm open to suggestions as how we might prevent this from happening :) |
How about adding a node-local-dns test? |
I don't think it'll help in this case...the test would have passed because it won't include our caller. On node-local-dns test, it would basically be the LRP test, or do you have something else in mind? |
Revert exported NoTrack rule function names.
Google's node-local-dns feature with Cilium depends on these names, revert to unbreak it. Also added comments to explain how these functions interact with flag
InstallNoConntrackIptRules
.