We need more than one replicas for sonarqube

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension - doesnt matter
  • how is SonarQube deployed: - helm
  • what are you trying to achieve - fault tolerance, High avaibility
  • what have you tried so far to achieve this:

I have deployed sonarqube via helm chart and it seems like we cant have more than 1 replicas.

This is a problem.Imagine karpenter moving pods around. This can cause downtime.
I cant even add a pdb since that would mean setting minimum replicas to 1. If we set it 1 then karpenter wont be able to touch that node and hence wont function efficiently..

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

It totally matters. For a high availability environment, you’ll need a license for the SonarQube Data Center Edition. To set up such environment, use the “sonarqube-dce” chart.

2 Likes