ods-core
ods-core copied to clipboard
SQ liveness probe missing
There is no livenessProbe
configured for SonarQube, only a readiness probe. The liveness probe should depend on a working database connection, we have seen this to be broken.
Readiness probe is defined here: https://github.com/opendevstack/ods-core/blob/master/sonarqube/ocp-config/sonarqube.yml#L314-L323
hi @michaelsauter I will take a look into this for ODS 4.2.0
thanks to @braisvq1996 to provide https://next.sonarqube.com/sonarqube/web_api <- will try to approach the fix via this API
@michaelsauter FYI will try to close this issue via https://github.com/opendevstack/ods-core/pull/1096
we will need to add a section in the admin docs that when upgrading sonarqube one needs to disable the probes
We can make use of this endpoint https://next.sonarqube.com/sonarqube/web_api/api/system/status as it does not need of any credential