F1CE2A9CFAEEBB7FA19E1E635F16593D.jpg

报错信息:

GF_PATHS_DATA='/var/lib/grafana' is not writable.
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
mkdir: cannot create directory '/var/lib/grafana/plugins': No such file or directory

需要指定运行的组:

    containers:
    - name: grafana
      image: grafana/grafana
    securityContext:
      fsGroup: 472
      runAsUser: 472

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code