ramhiser / kafka-kubernetes

Apache Kafka on Kubernetes
70 stars 36 forks source link

Remove LoadBalancer from Kafka cluster #2

Open ramhiser opened 8 years ago

ramhiser commented 8 years ago

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.

ramhiser commented 8 years ago