-
Notifications
You must be signed in to change notification settings - Fork 35
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
Submariner does not add LightHouse DNS entry in corefile section of configmap in case of RKE2 cluster. #1602
Submariner does not add LightHouse DNS entry in corefile section of configmap in case of RKE2 cluster. #1602
Comments
CustomDNSCONfig was added at the time for an issue with Azure/AKS clusters where they required DNS configuration to be in a separate file and |
Do you happen to have any updates here? I have a similar issue where Submariner is incorrectly trying to update the non-existent dns-default ConfigMap. Where i get this error in the submariner operator pod.
It is attempting to interact with OpenShift-specific resources (like the openshift-dns namespace) that aren’t present in a default RKE2 environment? |
This is scheduled for the 0.20 release and will be worked on based on priority. Of course we always welcome contributions. |
That's a last resort b/c it didn't find the standard "coredns" |
So RKE2 uses the same CoreDNS |
I think this is a good solution. But one more question for clarification. Won't that be a problem if we have multiple ConfigMaps with the "-coredns" suffix? |
Is that possible with RKE? I don't have an RKE setup - do you see multiple in your setup? We'd also look for the presence of the Also, is the "rke-coredns" name well-known and hard-coded out-of-box or can the user change it to whatever they want? Is it possible Rancher could change the name to something completely different in the future? |
Fixes submariner-io/lighthouse#1602 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fixes submariner-io/lighthouse#1602 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
What happened:
Submariner does not add LightHouse DNS entry in configmap "corefile" section in case of RKE2 cluster. For RKE2, I see "rke2-coredns" instead of core-dns. rke2-coredns is NOT configured to forward requests for domain clusterset.local to Lighthouse CoreDNS Server in the cluster making the query. I had to edit this config file manually in "corefile" section in all clusters to make it work.
The output of
kubectl -n kube-system describe configmap rke2-coredns-rke2-coredns
is as following. The forward rule is present inlighthouse.server
section. But that didn't work in case of RKE2.nslookup nginx.default.svc.clusterset.local returned server can't find nginx.default.svc.clusterset.local: NXDOMAIN
I had to manually edit config map and keep following section in the
corefile
section of the configmapAdding the rules in
lighthouse.server
section seems to be a issue. Looks like RKE2 is expecting the rules inCorefile
sectionWhat you expected to happen:
Lighthouse DNS to work for exported services in RKE2 clusters
How to reproduce it (as minimally and precisely as possible):
Try using submariner with RKE2 cluster and export service
Anything else we need to know?: Check Slack for more details slack comments
Environment:
subctl diagnose all
):subctl gather
):The text was updated successfully, but these errors were encountered: