<p>I followed the steps from this guide to create a kafka pod:
<a href="https://dzone.com/articles/ultimate-guide-to-installing-kafka-docker-on-kuber" rel="nofollow noreferrer">https://dzone.com/articles/ultimate-guide-to-installing-kafka-docker-on-kuber</a></p>
<p>Though I used LoadBalancer type for kafka-service (as said in the guide), I don't get an external IP for kafka-service:
<a href="https://i.stack.imgur.com/xvOvB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xvOvB.png" alt="enter image description here" /></a></p>
<p>On kubernetes dashboards kafka-service is shown as running.</p>

Viorel Casapu
<p>The <code>LoadBalancer</code> service and <code>Ingress</code> are only available to Kubernetes if you are using any cloud provider, like: GCP, AWS, Azure etc... <strong>It's not supported by default for bare-metal</strong> implementations.</p>
<p>But, if you are running kubernetes bare-metal, <strong>alternatively</strong>, you can use <a href="https://metallb.universe.tf/" rel="nofollow noreferrer">MetaLB</a> to <em>enable</em> the service <code>LoadBalancer</code> type and <code>ingress</code>.</p>
<blockquote>
<p>Kubernetes does not offer an implementation of network load-balancers (Services of type LoadBalancer) for bare metal clusters. The implementations of Network LB that Kubernetes does ship with are all glue code that calls out to various IaaS platforms (GCP, AWS, Azure…). If you’re not running on a supported IaaS platform (GCP, AWS, Azure…), LoadBalancers will remain in the “pending” state indefinitely when created.</p>
</blockquote>
<p><strong>For minikube</strong></p>
<p><a href="https://kubernetes.io/docs/tutorials/hello-minikube/#create-a-service" rel="nofollow noreferrer">On minikube</a>, the LoadBalancer type makes the Service accessible through the minikube service command.</p>
<p>Run the following command:</p>
<p><code>minikube service hello-node</code></p>
<p><strong>Or</strong> you can <a href="https://kubernetes.io/docs/tutorials/hello-minikube/#enable-addons" rel="nofollow noreferrer">enable the nginx-ingress addon</a> if you want to to create an ingress:</p>
<p><code>minikube addons enable ingress</code></p>
