Skip to content
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

Cant get pod A records to resolve #23

Open
cameronbraid opened this issue Mar 13, 2020 · 2 comments
Open

Cant get pod A records to resolve #23

cameronbraid opened this issue Mar 13, 2020 · 2 comments
Labels
question Further information is requested

Comments

@cameronbraid
Copy link
Contributor

Is this supported by kwt ?

dns lookup via kubedns directly :

> docker exec -it kind-control-plane2 dig kafka-kafka-0.kafka-kafka-brokers.drivenow-staging-z.svc.cluster.local @10.244.1.2
...
;; QUESTION SECTION:
;kafka-kafka-0.kafka-kafka-brokers.drivenow-staging-z.svc.cluster.local.	IN A

;; ANSWER SECTION:
kafka-kafka-0.kafka-kafka-brokers.drivenow-staging-z.svc.cluster.local.	8 IN A 10.244.2.24

;; Query time: 0 msec
;; SERVER: 10.244.1.2#53(10.244.1.2)
...

dns lookup via kwt net

> dig kafka-kafka-0.kafka-kafka-brokers.drivenow-staging-z.svc.cluster.local
...
;; QUESTION SECTION:
;kafka-kafka-0.kafka-kafka-brokers.drivenow-staging-z.svc.cluster.local.	IN A

;; Query time: 10 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
...
@cppforlife
Copy link
Contributor

seems like this format uses pod subdomain. it's currently not supported. here is current impl: https://github.com/k14s/kwt/blob/70f7ebd4c7a6886c14557e0ffe29c9bea3d49771/pkg/kwt/kubedns/kubedns_ip_resolver.go#L44

@cppforlife cppforlife added the question Further information is requested label Mar 16, 2020
@sneerin
Copy link

sneerin commented Jul 1, 2020

other solution uses headless service, but it's also not supported, so it's kind of no way to use Kafka in development with this tool :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants