Accessing the SonarQube Dashboard

When installed using Helm charts, SonarQube creates a load balancer and exposes an external IP to connect. We will discover the IP first and connect to the SonarQube Dashboard using the service IP.

Let's perform the following steps to expose SonarQube through a cloud load balancer:

  1. Get the SonarQube load balancer's external IP:
$ export SONAR_SVC=$(kubectl get svc --namespace sonarqube sonar-sonarqube -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')
$ echo http://$SONAR_SVC:9000
  1. Open the address in your browser:

  1. Click on Log in and use admin as both your username and password to log in to the Dashboard:

  1. Click on the account profile logo on the top right of the screen and select My Account:

  1. Select the Security tab:

  1. Change the default admin password and save it by clicking the Change password button:

Since the service port is accessible externally, it is important to change the default credentials of SonarQube.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.57.126