How to persist/store Sonarqube plugins and logs?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - Sonarqube 9.9 LTS
  • how is SonarQube deployed: zip, Docker, Helm - using Helm
  • what are you trying to achieve - I am running a SQ v9.9 LTS with Azure PostgreFlexible server as the DB and I have deployed SQ using Helm in my Azure Kubernetes Cluster. Everything is working properly till here.
    Now my question is, after deploying the app for the first time if I later want to add another plugin or remove one existing plugin in any way, SQ will restart/redeploy itself from scratch WHICH I DO NOT WANT. I want a way to STORE/PERSIST my SQ plugins in some way, like in a common pool, so that whenever I add a new plugin or remove one existing plugin all the containers where SQ is deployed should be notified of it and I can simply continue using SQ without it being restarted or redeployed.
    Need some ideas on how to achieve my goal here!

Also, I need some ideas on how to store/persist my SQ logs.
Please help.

just use docker cp to copy the file

get the container id docker inspect --format=“{{.Id}}” sonarqube
or what ever you called the container

eg
Docker cp bitegarden-sonarqube-report-2.13.5.jar 34734a926a229a48064b74ca923c1da644a2ead124b9a371d89c6cc8273a5d12:/opt/sonarqube/extensions/plugins/bitegarden-sonarqube-report-2.13.5.jar

Docker cp {filename}{id from above}:/opt/sonarqube/extensions/plugins/{filename}