- name: grafana-config
mountPath: /grafana-config
readOnly: true
- - name: grafana-datasource
- mountPath: /etc/grafana/provisioning/datasources/datasource.yaml
+ - name: grafana-provisioning
+ mountPath: /etc/grafana/provisioning
readOnly: true
- image: quay.io/prometheus/prometheus:latest
volumes:
- hostPath:
- path: ./conf-grafana/datasource.yaml
- type: File
- name: grafana-datasource
+ path: ./grafana-provisioning
+ name: grafana-provisioning
- hostPath:
- path: ./conf-grafana
+ path: ./grafana-config
name: grafana-config
- hostPath:
- path: ./conf-prometheus
+ path: ./prometheus-config
name: prometheus-config
- hostPath:
path: ./http