Ingress not getting endpoint (gets 127.0.0.1)

690 views
Skip to first unread message

Gary H

unread,
Jul 5, 2017, 8:49:55 PM7/5/17
to Kubernetes user discussion and Q&A
Hi all,

I'm having some issues creating a new ingress on GKE.

I already have a GCE ingress, however I'd like to add an Nginx ingress so I can use ClusterIP services.

When I try and create the ingress, the endpoint shows as 127.0.0.1 and no GCE load balancer or external IP is created - not sure what I'm doing wrong.

Here is my yaml:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: nginx-ingress-1
  annotations:
    kubernetes.io/ingress.class: "nginx"
spec:
  tls:
  - hosts:
    - nginx-ingress-1.mydomain.com
    secretName: 2017-2018-tls
  rules:
    - host: nginx-ingress-1.mydomain.com
      http:
        paths:
        - backend:
            serviceName: test-service
            servicePort: 80

Any help appreciated!

Many thanks,
Gary

cbo...@google.com

unread,
Jul 7, 2017, 2:08:41 PM7/7/17
to Kubernetes user discussion and Q&A
Hi Gary,

It seems you are facing something similar to issue 57 [1] and issue 233 [2]

From the latest comments it works using NGINX 0.9.0-beta.8 [3]

[1] https://github.com/jetstack/kube-lego/issues/57
[2] https://github.com/kubernetes/ingress/issues/233
[3] https://github.com/kubernetes/ingress/releases

Reply all
Reply to author
Forward
0 new messages