Ingress-nginx: Nginx-ingress v0.10.2 not updating status.loadBalancer.ingress on Ingress rules

Created on 14 Feb 2018  Â·  2Comments  Â·  Source: kubernetes/ingress-nginx

BUG REPORT

I'm running Kubernetes v1.8.3 on AWS with RBAC activated, I've installed nginx-ingress through helm chart nginx-ingress-0.9.1.
When adding ingress rules to the cluster status.loadBalancer.ingress stays like empty:

status:
  loadBalancer:
    ingress:
    - {}

However an ELB has been created with a CNAME on it:

→ kubectl describe svc --namespace=kube-system nginx-nginx-ingress-controller
Name:           nginx-nginx-ingress-controller
Namespace:      kube-system
Labels:         app=nginx-ingress
            chart=nginx-ingress-0.9.1
            component=controller
            heritage=Tiller
            release=nginx
Annotations:        <none>
Selector:       app=nginx-ingress,component=controller,release=nginx
Type:           LoadBalancer
LoadBalancer Ingress:   xxx.elb.amazonaws.com

I expect to have status.loadBalancer.ingress.hostname on ingress rules to be filled by the nginx-controller with the ELB's CNAME. This is needed by the external-dns service to create CNAMEs on route53 from domain appearing in ingress rules.

Regards,
Ael

Most helpful comment

Wow thanks for your help! This solved the problem, I should have read the doc more carefully.

All 2 comments

@ael-g do you have the --publish-service flag in the deployment?

Wow thanks for your help! This solved the problem, I should have read the doc more carefully.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vdavidoff picture vdavidoff  Â·  3Comments

lachlancooper picture lachlancooper  Â·  3Comments

geek876 picture geek876  Â·  3Comments

natemurthy picture natemurthy  Â·  3Comments

silasbw picture silasbw  Â·  3Comments