Some questions about lighthouse dns? #1018
-
Recently, I was looking at the lighthouse dns source-code and had some questions about the getClusterIPForSvc method of record.go。
When both found and getLocal are true (that is, the serviceimport service on the local cluster is parsed) . Why do we still need to use localServices.GetIP to parse the IP address on the local cluster? |
Beta Was this translation helpful? Give feedback.
Answered by
sridhargaddam
Dec 19, 2022
Replies: 1 comment 2 replies
-
When an exported service is present even on the local cluster, Lighthouse will give local service precedence over the remote service. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
zcz-1020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When an exported service is present even on the local cluster, Lighthouse will give local service precedence over the remote service.