]> piware.de Git - learn-metrics.git/blobdiff - learn-metrics.yaml
Move Prometheus config to directory volume
[learn-metrics.git] / learn-metrics.yaml
index 6966d782784f1423579ec55caef08cdfaeeec434..273b6480453d5664775d2f950974d7c58889a14d 100644 (file)
@@ -28,7 +28,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 +44,7 @@ spec:
       type: File
     name: grafana-datasource
   - hostPath:
-      path: ./conf-prometheus/prometheus.yml
-      type: File
+      path: ./conf-prometheus
     name: prometheus-config
   - hostPath:
       path: ./http