Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[inclubator/kafka] Accessing Kafka outside kubernetes not working #6670
Is this a request for help?:
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Version of Helm and Kubernetes:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
kc describe svc kafka-1-external -n test-kafka
Since the target port is 31091, the port should be exposed from the pod. But when i do telnet to the corresponding port connection refused.
When I exec inside the kafka-0 pod, and check the /etc/kafka/kafka.properties, it has the listeners as
I believe you must also specify configurationOverrides.advertised.listeners. Guessing for your example it would be this...
Noticed from looking at the statefulset template.
@drekle I dont think that fixes the issue. These are the properties I have inside the pod.
When i do
I am getting
@vidhy I told you wrong above. The advertised listener should be the FQDN. You are calling it with