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

nodeport does not update advertised listeners #190

Open
gojanpaolo opened this issue Nov 15, 2022 · 0 comments
Open

nodeport does not update advertised listeners #190

gojanpaolo opened this issue Nov 15, 2022 · 0 comments

Comments

@gojanpaolo
Copy link

We have updated to nodeport like so

kind: Kafka
spec:
...
  listeners:
    external:
      externalAccess:
        type: nodePort
        nodePort:
          host: 34.171.202.240
          nodePortOffset: 30000

But it looks like the advertised listeners are not updated as expected

$ kubectl -n confluent logs kafka-0 | grep advert
Defaulted container "kafka" out of: kafka, config-init-container (init)
        advertised.listeners = EXTERNAL://kafka-0.kafka.confluent.svc.cluster.local:9092,INTERNAL://kafka-0.kafka.confluent.svc.cluster.local:9071,REPLICATION://kafka-0.kafka.confluent.svc.cluster.local:9072
        advertised.listeners = EXTERNAL://kafka-0.kafka.confluent.svc.cluster.local:9092,INTERNAL://kafka-0.kafka.confluent.svc.cluster.local:9071,REPLICATION://kafka-0.kafka.confluent.svc.cluster.local:9072
        advertised.listeners = []
$ ./kcat.exe -b 34.171.202.240:30000 -t my-topic -C -v
%3|1668553116.364|FAIL|rdkafka#consumer-1| [thrd:kafka-0.kafka.confluent.svc.cluster.local:9092/0]: kafka-0.kafka.confluent.svc.cluster.local:9092/0: Failed to resolve 'kafka-0.kafka.confluent.svc.cluster.local:9092': No such host is known.  (after 19ms in state CONNECT)
% Fatal error at consume_cb:627:
% ERROR: Topic my-topic [0] error: Failed to query logical offset END: Local: Host resolution failure       
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant