Update: Ok I am not alone: https://github.com/docker/for-mac/issues/2445
Following this, he gets an External-ip:
I got the YAML files from GitHub.
wordpress LoadBalancer 10.108.161.250 <pending> 80:30806/TCPWhy are my LoadBalancer just pending when his(in the video) is not?
And please note that he do has a LoadBalencer that expose an external ip for the service.
Docker for Mac makes the LoadBalancers available at http://localhost:{port} automagically.
The LoadBalancer services require support from the underlying infrastructure. They work automatically if you deploy them in supported providers such as AWS or GKE.
They doesn't work if you deploy them locally on your Mac or with minikube
Details here: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#external-load-balancer-providers
This has been fixed in 18.03.0-ce-rc1-mac54:
From release notes: - Kubernetes Load balanced services are no longer marked as `Pending`.