Skip to content

Simple POC cluster failing to provision - 'default backend - 404'

Summary

I'm attempting to do a POC, and with a base configuration all I get is a page that says "default backend - 404"

Steps to reproduce

  • Create an eks k8s cluster in AWS

  • Install stand-alone cert-manager into the namespace 'cert-manager'

  • Install metrics server into the namespace 'kube-system'

  • Install external-dns into the namespace 'external-dns'

  • Create the namespace 'gitlab-system'

  • kubectl apply the yamls for the certifiates

  • helm template gitlab gitlab/gitlab -f values.yaml > gitlab_chart.yaml

  • kubectl apply -f gitlab_chart.yaml

Configuration used

(Please provide a sanitized version of the configuration used wrapped in a code block (```yaml))

contents of values.yaml

global:
  hosts:
    domain: <my.domain (a valid domain)>
    https: true
  ingress:
    configureCertmanager: false
    tls:
      enabled: true
      secretName: <secret for certificate - created via Cert-Manager / LetsEncrypt - publicly valid>
nginx-ingress:
  controller:
    config:
      use-forwarded-headers: "true" 
    service:
      annotations:
        service.beta.kubernetes.io/aws-load-balancer-backend-protocol: https
        service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "3600"
        service.beta.kubernetes.io/aws-load-balancer-ssl-cert: <the ARN>
        service.beta.kubernetes.io/aws-load-balancer-ssl-ports: https
        external-dns.alpha.kubernetes.io/hostname: "gitlab.<my.domain>,registry.<my.domain>,minio.<my.domain>"
certmanager:
  install: false
certmanager-issuer:
  email: me@example.com
  install: false

Current behavior

I browse to gitlab.<my.domain>, and I get the message "default backend - 404"

Expected behavior

I browse to gitlab.<my.domain>, and I get a login page

Versions

  • Chart: gitlab/gitlab 5.7.0
  • Platform:
    • Cloud: EKS
  • Kubernetes: (kubectl version)
    • Client: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.2", GitCommit:"9d142434e3af351a628bffee3939e64c681afa4d", GitTreeState:"clean", BuildDate:"2022-01-19T17:27:51Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"darwin/arm64"}
    • Server: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.5-eks-bc4871b", GitCommit:"5236faf39f1b7a7dabea8df12726f25608131aa9", GitTreeState:"clean", BuildDate:"2021-10-29T23:32:16Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}
  • Helm: (helm version)
    • Client: version.BuildInfo{Version:"v3.7.2", GitCommit:"663a896f4a815053445eec4153677ddc24a0a361", GitTreeState:"clean", GoVersion:"go1.17.3"}
    • Server: N/A

Relevant logs

➜  gitlab-via-helm-charts git:(master) ✗ curl -v 'gitlab.<my.domain>'
*   Trying <IP addr>:80...
* Connected to gitlab.<my.domain> (<IP addr>) port 80 (#0)
> GET / HTTP/1.1
> Host: gitlab.<my.domain>
> User-Agent: curl/7.77.0
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Date: Wed, 26 Jan 2022 18:39:05 GMT
< Content-Type: text/plain; charset=utf-8
< Content-Length: 21
< Connection: keep-alive
< Referrer-Policy: strict-origin-when-cross-origin
< 
* Connection #0 to host gitlab.<my.domain> left intact
default backend - 404%     
Edited by Justin Killen