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

fix(prometheus): Set permissions on /prometheus #70

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

jsirianni
Copy link
Member

@jsirianni jsirianni commented Dec 6, 2023

Description of Changes

On GKE we get permission issues. Minikube works either way. The user id 65534 is what the prometheus process runs as, and maps to the nobody user.

/prometheus $ ls -la /prometheus/
total 20
drwxrwxrwx    4 nobody   nobody        4096 Dec  6 17:00 .
drwxr-xr-x    1 root     root          4096 Dec  6 17:00 ..
drwxr-xr-x    2 nobody   nobody        4096 Dec  6 16:57 chunks_head
-rw-r--r--    1 nobody   nobody           0 Dec  6 17:00 lock
-rw-r--r--    1 nobody   nobody       20001 Dec  6 17:00 queries.active
drwxr-xr-x    2 nobody   nobody        4096 Dec  6 17:00 wal

Please check that the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CI passes

@jsirianni jsirianni requested a review from a team as a code owner December 6, 2023 17:00
@jsirianni jsirianni requested a review from cpheps December 6, 2023 17:14
@jsirianni jsirianni merged commit ebfbeb8 into main Dec 6, 2023
13 checks passed
@jsirianni jsirianni deleted the fix/dev-prom-volume branch December 6, 2023 17:22
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

Successfully merging this pull request may close these issues.

3 participants