Delay in Loadbalancer type using minikube

Newbie here following the book Kubernetes in Action

I created a minikube cluster and then created a pod.
I am now trying to expose the service using Loadbalancer as such

kubectl expose rc kubia --type=LoadBalancer --name kubia-http

Been seeing this output for a while
kubia-http LoadBalancer 8080:30224/TCP 43m

How long does this normally take?


UPDATE: nevermind, looks like minikube doesn’t have this feature.

Service Type LoadBalancer comes from some an external provider. For On Prem and Bare Metal deployments, the best option is metallb. It does work with minikube, you just need to configure it with an ip range on the same network that minikube uses.

1 Like