Created
August 22, 2018 04:44
-
-
Save juan-lee/6910182f962c19fe91118d3e08092f4b to your computer and use it in GitHub Desktop.
AKS Grafana Helm Chart Values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rbac: | |
create: false | |
## Node labels for pod assignment | |
## ref: https://kubernetes.io/docs/user-guide/node-selection/ | |
# | |
nodeSelector: {} | |
## Enable persistence using Persistent Volume Claims | |
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ | |
## | |
persistence: | |
enabled: true | |
storageClassName: default | |
accessModes: | |
- ReadWriteOnce | |
size: 10Gi | |
annotations: {} | |
subPath: "" | |
existingClaim: | |
## Configure grafana datasources | |
## ref: http://docs.grafana.org/administration/provisioning/#datasources | |
## | |
datasources: | |
datasources.yaml: | |
apiVersion: 1 | |
datasources: | |
- name: Prometheus | |
type: prometheus | |
url: http://prometheus-server.prometheus.svc.cluster.local | |
access: proxy | |
isDefault: true | |
## Configure grafana dashboard providers | |
## ref: http://docs.grafana.org/administration/provisioning/#dashboards | |
## | |
## `path` must be /var/lib/grafana/dashboards/<provider_name> | |
## | |
dashboardProviders: | |
dashboardproviders.yaml: | |
apiVersion: 1 | |
providers: | |
- name: 'default' | |
orgId: 1 | |
folder: '' | |
type: file | |
disableDeletion: false | |
editable: true | |
options: | |
path: /var/lib/grafana/dashboards/default | |
## Configure grafana dashboard to import | |
## NOTE: To use dashboards you must also enable/configure dashboardProviders | |
## ref: https://grafana.com/dashboards | |
## | |
## dashboards per provider, use provider name as key. | |
## | |
dashboards: | |
default: | |
kube-dash: | |
gnetId: 6663 | |
revision: 1 | |
datasource: Prometheus | |
kube-official-dash: | |
gnetId: 2 | |
revision: 1 | |
datasource: Prometheus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
helm upgrade grafana stable/grafana --install --namespace grafana -f graf-values.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment