NOTE: IF YOU WISH TO REPORT A NEW BUG, PLEASE POST A NEW QUESTION AND TAG AS "BUG REPORT". THANK YOU.
[Issue] Grafana Yaml is broken (fixed) and the docker image has permissions issues
Hello, I have found that the Grafana template provided in https://docs.rapidminer.com/latest/deployment/templates/prod/multiple.html is corrupt, due to some indents in the text. Docker/Kubernetes fail to convert it to json. I'm attaching the yaml file amended.
Also, I'd like to report that there are permissions issue with the image provided by Rapidminer, and therefore the pod/docker won't start.
<div><code><div>Normal Created 17s (x3 over 36s) kubelet, ip-1xxxxxxxxx.eu-west-1.compute.internal Created container rm-grafana-svc<br>Normal Started 17s (x3 over 36s) kubelet, ip-xxxxxxx2.eu-west-1.compute.internal Started container rm-grafana-svc<br>Warning BackOff 5s (x4 over 34s) kubelet, ip-xxxxxxxxxx.eu-west-1.compute.internal Back-off restarting failed container</div><div><br></div><div><br></div><div>ec2-user:~/environment $ kubectl logs rm-grafana-svc-78ccdf5bd5-mrrrw rm-grafana-svc<br>GF_PATHS_DATA='/var/lib/grafana' is not writable.<br>You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migration-from-a-previous-version-of-the-docker-container-to-5-1-or-later<br>mkdir: cannot create directory '/var/lib/grafana/plugins': Permission denied<br>ec2-user:~/environment $ </div>
It looks like you would need to change the folders permissions and push a new image to the repo.
chown -R root:root /etc/grafana && \ chmod -R a+r /etc/grafana && \ chown -R grafana:grafana /var/lib/grafana && \ chown -R grafana:grafana /usr/share/grafana
Is rapidminer/rapidminer-grafana:9.6.0 a stock grafana image or you made any other changes?