-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[bitnami/thanos] thanos helm chart renders strange hostname for sidecarsService dnsDiscovery #24527
Comments
this looks like it might be related to thanos-io/thanos#5366 however there is no info on what the fix was for that and I'm not sure what pod labels they are talking about |
you can see he where the prefix is added by the helm chart:
|
I got same issue with Thanos and CoreDNS. Our k8s cluster is using both of kube-dns and CoreDNS.
I have changed dnssrv+_grpc._tcp to dns+_grpc._tcp:port. Postscript: |
Hello @danfinn, if I'm understanding your issue correctly the issue comes from the set endpoint to your external prometheus service right? Looking at the SRV records, the Besides that, could you also try @illyul workaround? In that case you'll be directly setting the port number instead of the port name from the service. It seems to me we should evaluate having an additional parameter to define the sidecar's |
I configured dns+_grpc._tcp:port. to workaround and it worked for me. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Name and Version
bitnami/thanos 12.23.0
What architecture are you using?
amd64
What steps will reproduce the bug?
I'm installing the helm chart like so:
with the values below. What is happening is that the DNS entry for my service is being rendered by the helm chart incorrectly (as far as I can tell) and according to helm template it's coming out looking like this:
I don't know where or why that _grpc._tcp. prefix is coming from but it's causing DNS resolution to break and I get the following errors from the query pod:
without the _grpc._tcp. prefix, dns resolution works as expected:
once you add that on though:
Are you using any custom parameters or values?
What is the expected behavior?
I'm not sure why it's adding that strange looking prefix onto the DNS entry for the service
What do you see instead?
see above
Additional information
No response
The text was updated successfully, but these errors were encountered: