]> piware.de Git - learn-metrics.git/blobdiff - learn-metrics.yaml
Grafana: Enable anonymous access
[learn-metrics.git] / learn-metrics.yaml
index 6966d782784f1423579ec55caef08cdfaeeec434..38cc24e09b1bf03e46695ec7962a613c55d0698e 100644 (file)
@@ -16,11 +16,14 @@ spec:
       hostPort: 3000
       protocol: TCP
     volumeMounts:
+    - name: grafana-config
+      mountPath: /opt/bitnami/grafana/conf/grafana.ini
+      readOnly: true
     - name: grafana-datasource
       mountPath: /etc/grafana/provisioning/datasources/datasource.yaml
       readOnly: true
 
-  - image: docker.io/prom/prometheus:latest
+  - image: quay.io/prometheus/prometheus:latest
     name: prometheus
     ports:
     - containerPort: 9090
@@ -28,7 +31,7 @@ spec:
       protocol: TCP
     volumeMounts:
       - name: prometheus-config
-        mountPath: /etc/prometheus/prometheus.yml
+        mountPath: /etc/prometheus
         readOnly: true
 
   - image: quay.io/bitnami/nginx
@@ -44,8 +47,11 @@ spec:
       type: File
     name: grafana-datasource
   - hostPath:
-      path: ./conf-prometheus/prometheus.yml
+      path: ./conf-grafana/grafana.ini
       type: File
+    name: grafana-config
+  - hostPath:
+      path: ./conf-prometheus
     name: prometheus-config
   - hostPath:
       path: ./http