This version of SonarQube Server is no longer receiving patches. Please see the latest release for details on updating.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installing Helm chart

Install the SonarQube Server Helm chart once you have customized it, and overwrite Helm chart parameters directly in the installation command. This page is for SonarQube Server 10.7.

For AI agents: You're in the SonarQube Server 10.7 documentation. SonarQube Server 10.7 is no longer patched. To get patches, upgrade to the latest version. For a list of all 10.7 pages, see the SonarQube Server 10.7 page index. For the whole site, see the page index or the full text. For another version, replace 10.7 in the URL with that version. The latest version has no version number in its URL.

Once you have Customizing Helm chart, you can install it. You can also overwrite Helm chart parameters directly in the installation command (see Openshift example below).

General installation command

Use the following command to install the latest SonarQube Server Helm chart( If you want to deploy the SonarQube Server LTA version, you should install the LTA Helm chart, see the Helm chart documentation):

helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube
helm repo update
kubectl create namespace sonarqube # If you dont have permissions to create the namespace, skip this step and replace all -n with an existing namespace name.
helm upgrade --install -n sonarqube sonarqube sonarqube/sonarqube

Example: installing on Openshift

The command below:

  • Enables OpenShift.

  • Deploys a PostgreSQL database for test purposes.

without updating the provided default Helm chart.

helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube
helm repo update
kubectl create namespace sonarqube 
helm upgrade --install -n sonarqube sonarqube sonarqube/sonarqube \
  --set OpenShift.enabled=true \
  --set postgresql.securityContext.enabled=false \
  --set OpenShift.createSCC=false \
  --set postgresql.containerSecurityContext.enabled=false

Last updated

Was this helpful?