banzaicloud/koperator

NodePort enhancement: use Node IP in advertized.listeners when hostnameOverride and nodePortExternalIP are not set

balassai opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
Reaching the Kafka cluster with IP address would be useful. Currently with hostnameOverride a list of ip addresses and hostnames has to be maintained in /etc/hosts.

Describe the solution you'd like to see
when hostnameOverride and nodePortExternalIP are not set use the node ip in advertized.listeners configuration.

Describe alternatives you've considered

Additional context
https://banzaicloud.com/blog/kafka-external-access/#future-nodeport-enhancements

Future NodePort enhancements 🔗︎
Currently, either hostnameOverride or nodePortExternalIP, or both, have to be specified for external listeners in the NodePort access method. In future versions, if these are not set, the node IP of the node where the broker pod is scheduled will be used in the advertized.listeners broker configuration.

@bartam1 Can you confirm #936 addressed this issue, and close the issue if it does?