Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

higress-console-grafana pod failed to setup #446

Open
StuDDXT1610 opened this issue Mar 6, 2025 · 1 comment
Open

higress-console-grafana pod failed to setup #446

StuDDXT1610 opened this issue Mar 6, 2025 · 1 comment

Comments

@StuDDXT1610
Copy link

hi, im used helm to build higress & higress-console and enable o11y and set securityContext with "runAsUser=0"
by command flags
--set higress-console.o11y.enabled=true
--set higress-console.o11y.prometheus.securityContext.runAsUser=0
--set higress-console.o11y.grafana.securityContext.runAsUser=0
--set higress-console.o11y.loki.securityContext.runAsUser=0
--set higress-console.global.o11y.enabled=true
--set higress-console.global.o11y.prometheus.securityContext.runAsUser=0
--set higress-console.global.o11y.grafana.securityContext.runAsUser=0
--set higress-console.global.o11y.loki.securityContext.runAsUser=0

i also set the global.o11y to true and global.o11y.securityContext.runAsUser

the results:
my loki and prometheus was up
my higress-console-grafana didn't and logged

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/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied

could help me please

@CH3CHO
Copy link
Collaborator

CH3CHO commented Mar 6, 2025

Then is Grafana running as root now? Does root have the permission to write to that folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants