Skip to content

Instantly share code, notes, and snippets.

@sudhikan
Created December 23, 2020 06:05
Show Gist options
  • Save sudhikan/e462981f15c861e7df048b225cb337fa to your computer and use it in GitHub Desktop.
Save sudhikan/e462981f15c861e7df048b225cb337fa to your computer and use it in GitHub Desktop.
userGrafana
userGrafana:
create: true
# Service configuration.
#service: Add this back if we need to hit Grafana independently of the NMS
# type: LoadBalancer
# loadBalancerIP: xx.xx.xx.xx.xx
volumes:
# Default volume configurations for grafana data.
dashboards:
volumeSpec:
hostPath:
path: /grafanaData/dashboards
type: DirectoryOrCreate
datasources:
volumeSpec:
hostPath:
path: /grafanaData/datasources
type: DirectoryOrCreate
dashboardproviders:
volumeSpec:
hostPath:
path: /grafanaData/dashboardproviders
type: DirectoryOrCreate
grafanaData:
volumeSpec:
hostPath:
path: /grafanaData/grafanaData
type: DirectoryOrCreate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment