How to access to service port in Kubernetes cluster with kind

I think it was the same before Kind, but you can create a LoadBalancer service which is automatically handled by Docker Desktop’s own cloud controller. When you use kind, I guess it is “kind-cloud-provider”, but it looks like it is not part of the cluster just running as another container next to the node containers.

So if you create a LoadBalancer service on port 30000, it will be published on localhost and you can use “localhost:30000” in your browser. If you need multiple services, you can install an ingress controller which by default has a LoadBalancer service and you can use it as a proxy to access any service in the multi-node cluster through the ingress port and using domains or paths.