Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Sonarqube on GKE Autopilot: vm.max_map_count [65530] is too low

Hi folks,

I'm having issues getting Sonarqube (bitnami/sonarqube) to run on GKE Autopilot (1.21.10-gke.2000).

I'm getting the following error when Sonarqube pod is started:

2022.05.10 05:47:02 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/bitnami/sonarqube/elasticsearch]: /opt/bitnami/sonarqube/elasticsearch/bin/elasticsearch
2022.05.10 05:47:02 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

Is this a known limitation as it needs to set system parameters on host level or is there someway around this?

 

Thanks.

0 1 900
1 REPLY 1

Is this issue resolved?

Top Labels in this Space