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
OCPBUGS-647: SDN branch: Fix Prefer local endpoints for cluster DNS service #1356
OCPBUGS-647: SDN branch: Fix Prefer local endpoints for cluster DNS service #1356
Conversation
Carry "Perfer local endpoint for cluster DNS service" (54dc363) was incorrectly applied which did not restrict DNS calls to a local endpoint. Signed-off-by: Martin Kennelly <mkennell@redhat.com>
@martinkennelly: the contents of this pull request could not be automatically validated. The following commits could not be validated and must be approved by a top-level approver:
Comment |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: martinkennelly The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I added a unit test for this in 4.11, 45738de#diff-92f41de420a097c0419a3cb53cf176a459a742c39f3fa482ab48b1c2fa6fd084. Can you add that here and confirm that it now passes? ( (Yeah, it's a bit late to be adding the test now, but this way, at least if we need to modify this code again in 4.10, we'll have the test there to confirm it. Maybe grab the |
* Test to ensure local DNS endpoint is selected if available * Test to ensure if no local DNS endpoint available, fallback to load balancing across remote endpoints. All credit to Dan Winship/Miciah Masters. Signed-off-by: Martin Kennelly <mkennell@redhat.com>
Credit to Dan Winship. Signed-off-by: Martin Kennelly <mkennell@redhat.com>
@martinkennelly: the contents of this pull request could not be automatically validated. The following commits could not be validated and must be approved by a top-level approver:
Comment |
How do you want me to confirm? unit test in SDN repo? I was planning to do this once I vendor this in. |
No, I meant you, personally, can just look at the rules, and say "yup, those are the expected rules". It's awkward to have unit tests of this because (1) "go mod vendor" won't copy the unit tests over to sdn, (2) unit tests in sdn's |
@martinkennelly: This pull request references Jira Issue OCPBUGS-647, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This looks good. Can you open a WIP PR against SDN, vendoring this commit in via your own fork (eg, like this commit) and then once it passes SDN CI, I'll merge this PR and you can update the SDN PR to use the real o/k commit. |
@martinkennelly: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-647 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Carry "Prefer local endpoint for cluster DNS service"
(54dc363) was incorrectly applied which did not restrict
DNS calls to a local endpoint.
Signed-off-by: Martin Kennelly mkennell@redhat.com
/cc @danwinship