1
0
Fork 0

provision grafana plugins

This commit is contained in:
Massaki Archambault 2021-09-06 16:39:49 -04:00
parent 74efc7f72c
commit beef8c1a3e
3 changed files with 5 additions and 25 deletions

View File

@ -28,29 +28,9 @@ spec:
image: grafana/grafana image: grafana/grafana
env: env:
- name: GF_AUTH_ANONYMOUS_ENABLED - name: GF_AUTH_ANONYMOUS_ENABLED
value: "false" value: "true"
# - name: GF_DATABASE_TYPE - name: GF_INSTALL_PLUGINS
# value: postgres value: marcusolsson-json-datasource,marcusolsson-treemap-panel
# - name: GF_DATABASE_HOST
# valueFrom:
# secretKeyRef:
# name: postgres-credentials
# key: host
# - name: GF_DATABASE_NAME
# valueFrom:
# secretKeyRef:
# name: postgres-credentials
# key: database
# - name: GF_DATABASE_USER
# valueFrom:
# secretKeyRef:
# name: postgres-credentials
# key: username
# - name: GF_DATABASE_PASSWORD
# valueFrom:
# secretKeyRef:
# name: postgres-credentials
# key: password
readinessProbe: readinessProbe:
failureThreshold: 3 failureThreshold: 3
httpGet: httpGet:

View File

@ -4,4 +4,4 @@ datasources:
type: prometheus type: prometheus
access: proxy access: proxy
url: http://prometheus-operated.monitoring.svc.cluster.local:9090 url: http://prometheus-operated.monitoring.svc.cluster.local:9090
is_default: true isDefault: true

View File

@ -1,6 +1,6 @@
bases: bases:
- ../../bases/prometheus - ../../bases/prometheus
- ../../bases/node-exporter # - ../../bases/node-exporter
- ../../bases/blackbox-exporter - ../../bases/blackbox-exporter
- ../../bases/kube-state-metrics - ../../bases/kube-state-metrics