-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoadBalancer Service has pending IP address #4113
Comments
|
@dvdmuckle : |
@Industrial - What happens when you run |
Also, do you mind providing the full output of |
@balopat - Mind chiming in here? Is the normal state for a service until the tunnel is started? |
The solution is to use |
And I guess even doing |
Prerequisites: Requires a local registry for the docker image. Minikube and kubectl installed. How to deploy: $ make release-docker-image $ make deploy-k8s Since minikube does not automatically know how to bring a LoadBalancer service up. Use minikube tunnel to fix that - in a separate terminal run the following command to tunnel the deployment: $ minikube tunnel Good blog post on kubernetes deployments: https://medium.com/google-cloud/kubernetes-101-pods-nodes-containers-and-clusters-c1509e409e16 https://medium.com/google-cloud/kubernetes-110-your-first-deployment-bf123c1d3f8 https://medium.com/google-cloud/kubernetes-120-networking-basics-3b903f13093a Fix for LoadBalancer Service has <pending> IP address - 'minikube tunnel': kubernetes/minikube#4113
First of all, make sure from the listening port in your application and what port are you set when writing the command after that execute the |
Hi!
I have read #2834 but that does not solve my issue:
When I run
kubectl expose deployment test-deployment-nginx --type=LoadBalancer --name=nginx-example
and then look at the services with
kubectl get svc
then:You can see it does not get an external IP.
For this reason the
minikube service nginx-example
does not work. I get a connection error.The text was updated successfully, but these errors were encountered: