Skip to content

Instantly share code, notes, and snippets.

@rohancme
Last active June 23, 2021 19:20
Show Gist options
  • Save rohancme/430c36b3ed22873e2244530a66a63e4a to your computer and use it in GitHub Desktop.
Save rohancme/430c36b3ed22873e2244530a66a63e4a to your computer and use it in GitHub Desktop.
Values for the grafana helm chart to talk to an existing prometheus datasource
persistence:
enabled: true
accessModes:
- ReadWriteOnce
size: 5Gi
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
url: http://my-prometheus-server
access: proxy
isDefault: true
dashboards:
kube-dash:
gnetId: 6663
revision: 1
datasource: Prometheus
kube-official-dash:
gnetId: 2
revision: 1
datasource: Prometheus
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment