Currently, a DNS name must be hardcoded in kafka-cluster.yaml. Currently, I'm getting the DNS name from kafka-service after its deployed via kubectl get service kafka-service.
By removing the load balancer, there's no concern of exposing to the outside world (unless that's warranted by use case) and there's no need to hardcode the DNS host.
Currently, a DNS name must be hardcoded in
kafka-cluster.yaml
. Currently, I'm getting the DNS name fromkafka-service
after its deployed viakubectl get service kafka-service
.By removing the load balancer, there's no concern of exposing to the outside world (unless that's warranted by use case) and there's no need to hardcode the DNS host.