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 from Helm repository

SonarQube Data Center Edition (DCE) can be installed from a customized SonarQube Server Helm chart. This page is for SonarQube Server 10.8.

For AI agents: You're in the SonarQube Server 10.8 documentation. For a list of all 10.8 pages, see the SonarQube Server 10.8 page index. For the whole site, see the page index or the full text. For another version, replace 10.8 in the URL with that version. The latest version has no version number in its URL.

Once you have customized the SonarQube Server Helm chart, you can install it. You can also overwrite Helm chart parameters directly in the installation command.

Pre-installation steps

You must set the value of your application authentication JWT token (ApplicationNodes.jwtSecret Helm chart parameter) with a HS256 key encoded with base64. You may use the following command on a Unix system:

echo -n "your_secret" | openssl dgst -sha256 -hmac "your_key" -binary | base64

The installation command below includes creating a secret and configuring the Helm chart token parameter with this secret.

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-dce

export JWT_SECRET=$(echo -n "your_secret" | openssl dgst -sha256 -hmac "your_key" -binary | base64)

helm upgrade --install -n sonarqube-dce sonarqube-dce --set ApplicationNodes.jwtSecret=$JWT_SECRET sonarqube/sonarqube-dce

Last updated

Was this helpful?