when I use gefyra the DNS resolution solves for the current namespace but does not have the additional domains enabling resolution on services in other namespaces.
When testing if I provide the name as a FQDN then this work so it means the DNS resolution is working but the domains to search are missing.
Upon inspection of the /etc/resolv.conf file I see the following
What is the new feature about?
when I use gefyra the DNS resolution solves for the current namespace but does not have the additional domains enabling resolution on services in other namespaces.
When testing if I provide the name as a FQDN then this work so it means the DNS resolution is working but the domains to search are missing.
Upon inspection of the
/etc/resolv.conf
file I see the followingWhen I try to check a service in dev2 NS then it will fail eg.
When I look at a typical container in the cluster it is missing the following search domains:
svc.cluster.local cluster.local k8s
I manually updated
/etc/resolv.conf
to the following:After making the above update the curl now works
Why would such a feature be important to you?
yes it makes the gefyra container match a natural k8s pod with dns resolution across namespaces.
Anything else we need to know?
No response