d2iq-archive/kudo-kafka-operator

kafka-utils doesn't support minikube external ip

Opened this issue · 0 comments

Looks like minikube hasn't EXTERNAL-IP.
I think kafka-utils should be modified with adding additional check when operator was deployed on minikube.

If local deploy then use INTERNAL-IP.

https://github.com/mesosphere/kudo-kafka-operator/blob/master/images/kafka/kafka-utils/pkgs/service/service.go#L192-L203

INFO[0000] Running kafka-utils...
INFO[0000] kubeconfig file: using InClusterConfig. INFO[0000] kubernetes client configured.
INFO[0000] Running kafka-utils...
INFO[0000] Checking the service created for kafka-kafka-0
INFO[0000] detected NodePort
ERRO[0000] could not run the kafka utils bootstrap: no node found with name 'minikube'