Deploy SonarQube 10.0.0 in a non-privileged environment

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonarqube 10.0.0, k8s v1.23.17

  • how is SonarQube deployed: helm

  • what are you trying to achieve: deploy SonarQube 10.0.0 on a non-privileged k8s cluster

  • what have you tried so far to achieve this: setting privileged to false for both initSysctl and initFs this results in the deployment failing as the commands ran in both innit containers require privileged access.

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

Hi,

I am trying to deploy SonarQube in a non-privileged environment (k8s) I am limited to using v10.0.0 as my k8s cluster is fixed on v1.23.17 which means I can’t use any more recent version of SQ. I’m aware that in v10.3.0 it is possible to deploy in a non-privileged environment. I was curious if there was any way to do it in v10.0.0.

Many Thanks,
Conor

Hey there.

Since SonarQube v10.0 became unsupported as soon as v10.1 came out, your best bet is going to be upgrading your Kubernetes environment to at least 1.24 (but preferably an actually supported version, as 1.23 has been EOL for almost a year and even 1.26 will be EOL next month!)