-
Notifications
You must be signed in to change notification settings - Fork 12
Wrong IP address is being populated on an ingress #89
Comments
could you please do
|
Looks strange...
|
@snoby we already discussed this issue previously here: #85 As mentioned in the issue, |
@snoby |
Yes I am. I guess I need to find a way to make the nginx-ingress-controller put the right dns alias in that field. Honestly I suspect 80% of the people using k8s are going to be using nginx-ingress controller. |
@snoby @ideahitme I did some digging and have good news. https://github.com/kubernetes/ingress/tree/master/examples/static-ip/nginx#acquiring-an-ip perfectly describes our issue. They mention to put a
This flag only exists in the non-released 0.9 version of nginx-controller. https://github.com/kubernetes/ingress/tree/master/examples/static-ip/nginx has the corresponding manifest files. However, I also found https://github.com/kubernetes/kops/tree/master/addons/ingress-nginx#creating-a-simple-ingress where the Ingress clearly receives the DNS name of the exposed ELB. Though, looking at the manifests they seem to use @snoby You want to give 0.9 pointing it to your service a try? |
@linki
Everything looks correct and MATE correctly sets the ip address to the ELB alias now!, unfortunately this is definitely a beta because the health check in the ELB suggests that none of my nodes were in service.
|
Follow up to the previous post. I have it all working now, |
I will put something together and submit a PR, |
Using version v0.6.1 mate choses the public ip address of the node instead of the ingress controller alias to populate the route53 address. I'm using a simple example here:
kops ingress-nginx
and I've changed the ingress yaml in the above example to point to route53 zone instead of foo:
here is the original I changed it to foo.c.tropo.com and bar.c.tropo.com
Here is a snippet from my route53 console
Here is the snippet from the mate container:
I setup the mate deployment to look like below, only change I put in was I put the annotation to use a specific policy role that I created:
Here are my two mate policies basically i'm trying to limit mate to just two zoneid's
and the elb policy
The text was updated successfully, but these errors were encountered: