loghouse icon indicating copy to clipboard operation
loghouse copied to clipboard

No Endpoint Created on Ingress

Open alexcurtin opened this issue 8 years ago • 4 comments

I am using Kubernetes 1.8.1 and when I use helm to deploy this, the ingress never gets a public ip endpoint and has no errors to speak of (nothing in events etc) any ideas?

alexcurtin avatar Nov 08 '17 00:11 alexcurtin

What is content of your ingress? I mean ingress in k8s.

yurchenkosv avatar Nov 08 '17 06:11 yurchenkosv

@yurchenkosv I'm using the default values except I changed a few things like the DNS host.

{{- if .Values.ingress.enable }}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: loghouse
  namespace: {{ .Values.namespace }}
  annotations:
    kubernetes.io/ingress.class: "nginx"
{{- if .Values.ingress.enable_https }}
    kubernetes.io/tls-acme: "true"
    ingress.kubernetes.io/force-ssl-redirect: "true"
    ingress.kubernetes.io/ssl-redirect: "true"
{{- else }}
    ingress.kubernetes.io/force-ssl-redirect: "false"
    ingress.kubernetes.io/ssl-redirect: "false"
{{- end }}
spec:
  rules:
  - host: {{ .Values.ingress.loghouse_host }}
    http:
      paths:
      - path: /
        backend:
          serviceName: loghouse
          servicePort: 80
{{- if .Values.ingress.enable_https }}
  tls:
  - hosts:
    - {{ .Values.ingress.loghouse_host }}
    secretName: loghouse
{{- end }}
{{- end }}

I tried both named port http and 80 but the ingress never spins up a load balancer.

alexcurtin avatar Nov 08 '17 17:11 alexcurtin

@alexcurtin What is your IngressController?

alexclear avatar Nov 27 '17 04:11 alexclear

@alexclear it's ingress-gce

Reifier avatar Nov 30 '17 23:11 Reifier