-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
IP does not found #1467
Comments
Have you created the nginx-ingress-controller pod? If missing, ingress won't work when you use the |
Yes and of course, I create the nginx ingress controller, the ingress work without problem but the IP are not showing! |
If you are deploying it on GKE, it might be related to kubeadm/issues/425. There is a fix there that you can apply (if it is the case) |
@Pbtg thanks for your replt but no, is not my issue the reflected in the post that you send me, the details:
Ingress-controller work like a charm
So, is not problem with RBAC. |
@FelixPG please post the ingress pod log and the yaml you used to create the controller |
@aledbf controller are created using the official helm charts: stable/nginx-ingress Logs from the controller:
As you can see the ingress and the ingress controller work fine, but ingress does not show the IP address, details:
As you can see, the only way that I have to get the IP is with the output of yaml or with the output of kubectl describe pods pod_name |grep IP, also giving a fixed IP address to the controller but this IS NOT the idea.
Definitely is a bug, but is a PAIN!!!! Any ideas why this happend? |
@FelixPG please update the image to gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.14 |
Thanks @aledbf , the beta.12 is the tag by default that nginx-ingress have now, I will try, but does not appear that the problem are with version of nginx-ingress, I think that is a kubernetes bug. |
@FelixPG I still have same issue as yours, I think it should be the Kubernetes bug, it is using the service external IP for the ingress address column, so here there is no IP because your service behind the ingress does not include the external IP. |
@yuyangbj is the ingress IP, is not matter what type of IP! Is a kubernetes bug! |
@FelixPG what is your network plugin you used? |
@yuyangbj weave |
Per my understanding, the weave should monitor the ingress event and do some magic here, maybe you missed some annotations to ask weave to find the ingress controller POD? |
@FelixPG if you are running in the cloud you need to add the flag |
Thanks for your reply @aledbf, Im using helm chart to install the ingress with RBAC, using baremetal cluster up with kubeadm. I will try the "manual" option and reply with a feedback about. |
@yuyangbj annotations only needed when you have more than 1 ingress, in my case and for test purpose I have only 1 ingress and 1 ingress controller. |
@FelixPG, I have the same issuse with you. Do you find a solution to fix it? |
@hongchaodeng the trick that I use is create a service for the ingress controller with an external IPs. Regards Felix |
@FelixPG, Thanks for your kindly reply! |
I have similar issue |
@RouR create a service for the ingress controller with an external IPs. Regards |
@FelixPG My web service is opened, cool! But
What`s going on with ingress address? |
@RouR as a workaround I say you a trick for a service with external IP in orther that you know the IP of the ingress without a big effort, of course the problem persist and you can not see the IP of the ingress with kubectl get ing. Regards |
Thank`s for the help. |
Maybe, but his issue does not advance more than a few comments without a real solution. |
I'm doing the similar loadbalancer deployment locally without using NodePort for the svc, the website never opens, still wondering how to solve.
|
I am new to Ingress. My Ingress file is :
My 2 services are :
My ingress describe command shows me :
All this is deployed on CentOS VMs and am using Kubernetes version 1.9.5 But I am not getting an EXTERNAL-IP or an ing ADDRESS. |
@jeunii my workaround was create a service for the ingres controller with externalIP |
@FelixPG thank you for your reply. Since I am new to Ingress on K8S I have just one question. Does the Ingress controller and the apps I want controlled by the Ingress controller have to be in the same name space ? Could you recommend me a good doc that can help me understand this concept ? |
It is because you deployed ingress service with NodePort type ( which is the default type with kubeadm on BareMetal by official). To get ADDRESS value printed, you should change the NodePort type to ExternalIP. Check https://zhuanlan.zhihu.com/p/41071320 for the detail. |
On Azure AKS, I got this error because I created the cluster through the portal and HTTP application routing add-on was enabled by default. |
Hi:
I deploy a single ingress to provide grafana access from outside, the ingress is as follow:
So, when I get the ingress details, the IP address does not appear!!!!
Where is my IP address??? The other ingress running about 2 days also does not show the IP address!! What happend with this?
The text was updated successfully, but these errors were encountered: