Execute the following command to get SonarQube NodePort. As you can see 31359
is returned in this example:
$ kubectl get svc -n kubesphere-devops-system | grep ks-sonarqube-sonarqube
ks-sonarqube-sonarqube NodePort 10.233.20.169 <none> 9000:31359/TCP 48m
Now access SonarQube console http://{$Node IP}:{$NodePort}
in your browser using the default account admin / admin
.
java-sample
,then click Generate.Maven
by default, please be aware that you just need to copy the highlighted serial number, and click on the Finish this tutorial.