-
Notifications
You must be signed in to change notification settings - Fork 92
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
Geoip does not forward requests to external k8gb instance #1031
Comments
Adding hostAliases to the operator pod did solve the issue, however, the documentation nor the helm chart contains any information on this requirement.
Implementing this in the helm chart would require some work if more than one edgeDNSServer is specified.
However, the dnsZone is a comma separated list and there is not gurantee that the order of those zones will match the entries in the edgeDNSServers array. Do we have other options for solving the lookup of the remote k8gb nameserver? |
Could it be that I'm missing installation of the modified external-dns according to https://github.com/k8gb-io/coredns-crd-plugin ? |
Hi @ErikLundJensen , thanks a lot for trying out k8gb and welcome to the project :)
What type of edgeDNS do you use (route53/ns1/infoblox/smth else) ? |
I don't have an edge DNS that is updateable through external DNS in this setup. I have therefore pointed the edgeDNS to the k8gb coredns in the opposite cluster. That is why I don't get the gslb-ns-* records. |
I have create a setup with geoip in 2 Kubernetes clusters (site01 and site02). A lookup of "hello-world.poc.foo.bar" in each cluster works fine, however, if I scale hello-world replicaset to 0 in site02 then the DNS requests are not forwarded to site01.
Configuration in site02 (similar setup for site01):
DNS request towards site02:
Below is logs from the k8gb controller. In the log I have replaced the edgeDNSServer IP and the DNS name to foo.bar.
From the log the nameserver is gslb-ns-site01-poc.foo.bar, however, we don't have a DNS name for the edgeDNSServer, just the given edgeDNSServer IP.
K8gb version: "v0.10.0"
The text was updated successfully, but these errors were encountered: