Connecting to the GitLab dashboard

Let's perform the following steps to get the GitLab service address to connect using your web browser: 

  1. Get the external address of your GitLab service:
$ echo http://$(kubectl get svc --namespace gitlab \
gitlab-nginx-ingress-controller \
-o jsonpath='{.status.loadBalancer.ingress[0].hostname}')
  1. Open the address returned to the preceding command in a browser.
  2. Get the default root password created by GitLab by running the following command:
$ kubectl get secret gitlab-gitlab-initial-root-password \
-ojsonpath='{.data.password}' | base64 --decode ; echo
  1. Set a new password and sign in using the root user and your new password.
  2. To use a custom URL, create a CNAME record on your DNS with an alias to the external URL used in step 1.