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

Grafana hostpath persistence not working #5166

Open
201508876PMH opened this issue Jan 14, 2025 · 0 comments
Open

Grafana hostpath persistence not working #5166

201508876PMH opened this issue Jan 14, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@201508876PMH
Copy link

Describe the bug a clear and concise description of what the bug is.

Hi guys, even with my pods running i cant seem to persist grafana via hostpath. This is my current grafana config:

   grafana:
      deploymentStrategy:
        type: Recreate
      enabled: true
      fullnameOverride: grafana
      forceDeployDatasources: false
      forceDeployDashboards: false
      defaultDashboardsEnabled: true
      defaultDashboardsTimezone: utc+1
      serviceMonitor:
        enabled: true
      admin:
        existingSecret: grafana-admin-credentials
        userKey: admin-user
        passwordKey: admin-password
      persistence:
        disableMountSubPath: true
        enabled: true
        accessModes:
          - ReadWriteOnce
        size: 10Gi
        volumeMounts:
          - mountPath: /var/lib/grafana
            name: grafana-storage
        volumes:
          - name: grafana-storage
            hostPath:
              path: /mnt/volume-hel1-1/grafana
              type: DirectoryOrCreate

What's your helm version?

v3.16.4

What's your kubectl version?

v1.32.0

Which chart?

kube-prometheus-stack

What's the chart version?

67.4.0

What happened?

hostpath isnt working. No folder is created

What you expected to happen?

Data is saved

How to reproduce it?

use my code

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

?

Anything else we need to know?

No response

@201508876PMH 201508876PMH added the bug Something isn't working label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant