-
Notifications
You must be signed in to change notification settings - Fork 39.4k
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
get services: add PENDING state for EXTERNAL-IP #23562
Comments
+1 for this. On GCE environment, This is not the case with AWS, however, as Having a pending sign would be helpful! :) |
I thinks |
According to theType: LoadBalancer#shortcomings,
In this case (on AWS), we need to
|
@1ambda @zreigz @broady @hyunchel Guys , i tried creating NodePort and type: Loadbalancer for my K8s on AWS , but still the service cant get external IP. I also have the required IAM roles created but still does'nt work. Any thoughts / suggestions ? Do you think the only option is to ditch AWS and use GCE to get external-IP thing to work PS : If i use type: NodePort service works fine , but i really like to use external-IP .
|
Managed to get this working by adding
There is no need to bother about using NodePort , just add |
@ksingh7 I wanted to try your workaround, but I don't have those files on the apiserver node. |
@ksingh7 I too dont see those files , where did find these files to be edited |
Have you tried looking at |
FYI: I get the problem described in this issue (using Docker Mac Edge 18.06.0-ce-rc3-mac68) when I try to create services from this project: https://github.com/kubernetes/examples/tree/master/mysql-wordpress-pd To reproduce:
|
I have the same issue using k8s v1.9.5 running on AWS platform. Is there a fix or workaround?
Thanks in Advance. |
Same here while using Azure with Kubernetes and helm to setup an ingeress-nginx.
Any ideas? I don´t have access to any yaml files for deploying because i´m using helm to install ingress-nginx. |
Hi, I am facing the same issue on openstack, please can you advise. root@master-node:~/.kube# k get service frontend --watch |
The issue in my case (Google Cloud Platform) was just that we reached the quota limit of static addresses so the kubernetes service was not able to reserve an IP. |
I am having the same issue with my bare metal kubernetes cluster, Any help or Workaround to access my services from outside?
|
You need a cloud provider or other controller that knows how to allocate an IP and route traffic into the nodes. GKE has that in GCP. If you are on-prem, k8s has no idea what infrastructure exists on your network. |
True. Options are for on-premise:
|
After calling
expose --type=LoadBalancer
, a call toget services
will print something like this:kubectl should show a
PENDING
state to indicate to the user that something is happening behind the scenes.The text was updated successfully, but these errors were encountered: