Installing SonarQube using Helm

SonarQube is a leading open source solution for code quality and security analysis for adopting code quality in your CI/CD. It can be installed as a standalone solution from binaries. In this recipe, we will install it on a Kubernetes cluster using Helm charts.

Let's perform the following steps to get SonarQube up and running:

  1. Update your repositories:
$ helm repo update
  1. Install SonarQube:
$ helm install stable/sonarqube --name sonar --namespace sonarqube
  1. Validate that the PostgreSQL and SonarQube pods are ready:
$ kubectl get pods -n sonarqube
NAME READY STATUS RESTARTS AGE
sonar-postgresql-68b88ddc77-l46wc 1/1 Running 0 16m
sonar-sonarqube-995b9cc79-9vzjn 1/1 Running 1 16m

With that, you've learned how to get SonarQube deployed on the Kubernetes cluster.

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

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