-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
external-dns doesn't find the service #403
Comments
Can you check what the |
Not sure what you mean by status field of the Loadbalancer service. maybe this?
I'm on premise, so I guess this applies only to public cloud providers, right? I'm not really aware of a way to let kubernetes create ELB on premise. |
@nrobert13 ok, that's why it's not working: External DNS will just create DNS records to point to the service "External IP / Load Balancer" and in your case it's empty. You can either:
Example of a properly filled
|
@evaldasou was saying in this issue that he could get the endpoints in DNS with the ClusterIP service and using the
|
@nrobert13 are you seeing the same log messages as before now that you've set |
@khrisrichardson , yes, the same messages. I expected external-dns to create records for the Endpoints in my ingress/nginx-ingress-service service,
but instead still getting the following:
running external-dns with the following flags:
|
The reason I asked if it was the same set of messages is because I was wondering if instead your domain filter was too restrictive. Does |
Yes! |
@nrobert13 Your last example has no |
hey, sorry for the delay. I thought external-dns will use the . for the records.
now external-dns tries to create records, but not sure how. It tries to concat somethin in fron of the annotation I use, but seems to be an empty string. Should the annotation contain only the (sub)domain I want to add the record to, or the fqdn? either way, the output below doesn't look good.
|
@nrobert13 That looks odd. The hostname annotation is used as is. Please double-check that you don't include the leading dot in the annotation value. Then make sure the line with
is looking correct, i.e. However, having multiple target IPs for the same hostname is not supported in ExternalDNS, yet. For now you would have to limit the number of endpoints to one for ExternalDNS to work. It looks like you're trying to deploy |
I'm trying this with v0.4.8 now but still the same issue.
and getting this log:
running with:
In infoblox there's a subzone: dev.k8s.vcdcc.example.info I see 2 problems:
|
yeah, that seems broken. Regarding your problems:
|
thanks for the quick reply, indeed,the version indicated fixes the first problem
would it be possible to override spec.hostname with the hostname annotation. Use case: create records for pods created dynamically ( i.e. operators ), where the admin cannot control the spec.hostname, but still would have a meaningful dns record for it. |
I set up a cluster on bare metal machines, but it doesn' work. |
I'm seeing the same issue in AWS:
Although I have the
in the service status. I'm using the |
I also noticed that the annotation is missing from the
Is this normal? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In 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. |
Hey,
I'm trying to get external-dns work with infoblox provider.
tried the exmple from the tutorial, but external-dns doesn't create records.
this is how my service looks like:
when I run the external-dns with the following flags ( + environment variables ):
I only get the following output, nothing in infoblox.
Thanks,
Robert
The text was updated successfully, but these errors were encountered: