Managed to overcome the issue by creating a separate POD for initContainer which changed the /data folder permission
Thank You On Monday, November 9, 2020 at 12:37:02 AM UTC+11 sshark wsk wrote: > Hi All, > > I am trying to install prometheus via Gitlab managed apps to monitor my > micro k8s cluster on an ubuntu VM > > Unfortunately I have met the permission issues. Went through multiple > forums and set my folder (/var/opt/gitlab/prometheus/data) to full > permission (777). However, I still get the same error as described below > > caller=query_logger.go:85 component=activeQueryTracker msg="Error opening > query log file" file=/data/queries.active err="open /data/queries.active: > permission denied" > > Thanks > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d9c48d6e-2007-44f7-8dd7-1da43f8d8eeen%40googlegroups.com.

