How to install SonarQube on Kubernetes with Helm
Install SonarQube in your Kubernetes cluster with Helm, the Kubernetes package manager.
Install and configure these tools first:
Add the repository that holds the SonarQube Helm chart:
helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube
helm repo update
helm search repo sonarqube
Create a namespace for SonarQube, so it runs apart from your other applications:
kubectl create namespace sonarqube
Install SonarQube from the "sonarqube" Helm chart:
helm install sonarqube sonarqube/sonarqube --namespace sonarqube --create-namespace
Check that the SonarQube pods are running:
kubectl get pods --namespace sonarqube
kubectl get all --namespace sonarqube
To change the configuration, copy the chart's values.yaml file, edit the options you need and pass the file to Helm:
helm upgrade sonarqube sonarqube/sonarqube --values values.yaml --namespace sonarqube
How you reach SonarQube depends on the service type you chose: LoadBalancer, NodePort or Ingress. Ingress needs an Ingress controller running in your cluster.
Follow the instructions in the notes that helm install prints.
We can install SonarQube for you. Fully managed, with a 14 day free trial and a 100% money back guarantee
| Extra 1 CPU & 2GB memory | 25 EUR per month |
| Extra 100GB storage (files, database, logs and backups) | 25 EUR per month |
| Private networking, your own IP address or tunnels | 99 EUR per month |
| Private nodes, 1 CPU & 2GB memory (Custom only) | 50 EUR per month |
| Premium SLA: 99.95% uptime, 4-hour P1 response, 14 days of backups | 10% of your monthly charges for all your apps, with a minimum of 99 EUR per month |
| Enterprise SLA: 99.99% uptime (multiple replicas), 2-hour P1 response 24/7, 30 days of backups | 20% of your monthly charges for all your apps, with a minimum of 499 EUR per month |
Annual Get 2 months for free, 17% discount on a yearly Standard or Premium plan!
Custom and Enterprise: 5% off a 1-year contract, 10% off 2 years or longer, paid per year.
Monthly plans can be cancelled at any time, no commitment.