OCPBUGS-7205: don't advertise ovn-kubernetes local addresses in mdns#1348
Conversation
|
@zshi-redhat: This pull request references Jira Issue OCPBUGS-7205, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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. |
pkg/mdns/controller.go
Outdated
There was a problem hiding this comment.
This introduces a dependency between the MDNS and OVN components, which is going to make it harder to make OVN pluggable. We can do this for now, but we need a plan to decouple these again in the future. What can we do to keep them loosely coupled?
There was a problem hiding this comment.
I'm actually doing some code preparation work in this PR to move ovnk related code in its own files under pkg/config/ovn. Before this PR, the ovnk interfaces and special IP address are hardcoded in mdns controller. For fully decoupling ovnk from mdns controller (assuming mdns will stay in microshift main), we would need an interface between microshift and plugins to exchange the mdns related information (this is where the binary/script method in pluggable enhancement would help).
5efd666 to
2150b5a
Compare
Signed-off-by: Zenghui Shi <zshi@redhat.com>
2150b5a to
4dd7e08
Compare
|
Let's move ahead with this fix. We will have to think about the MDNS requirements when we split CNI out of the MicroShift binary. /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhellmann, zshi-redhat The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@zshi-redhat: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
@zshi-redhat: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-7205 has been moved to the MODIFIED state. DetailsIn 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. |
Signed-off-by: Zenghui Shi zshi@redhat.com