GoogleCloudPlatform/click-to-deploy

How to make k8s kafka installation accessible from outside the cluster?

ulapcyber opened this issue · 1 comments

Category:

Kubernetes apps

Type:

  • Bug
  • Feature Request
  • [ x] Process

Not sure where to log this question so am trying it here so I hope it is fine. I've just installed the "Kafka Cluster (with replication)" on Google MarketPlace. I can see, based on the readme, that the kafka service (of type ClusterIP) is only accessible from within the cluster. Is the service being referred here is "<app_name>-kafka-client" service? How can I make this accessible from outside the cluster so I can send and produce messages from outside the cluster? Is it just changing this service to of type "LoadBalancer"? and what about the external public IP? Thank you.

closing since I've figured it out -- i.e., set service to type load balancer.