]> piware.de Git - learn-metrics.git/blobdiff - learn-metrics.yaml
Pull prometheus image from quay.io
[learn-metrics.git] / learn-metrics.yaml
index 4d76cf97b920c923b130828fae6ced8917d86604..bc1d913ca1197e6f59a7bd5843117be0d4fb5bce 100644 (file)
@@ -20,15 +20,32 @@ spec:
       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
       hostPort: 3001
       protocol: TCP
+    volumeMounts:
+      - name: prometheus-config
+        mountPath: /etc/prometheus
+        readOnly: true
+
+  - image: quay.io/bitnami/nginx
+    name: httpd
+    volumeMounts:
+    - name: http
+      mountPath: /app
+      readOnly: true
 
   volumes:
   - hostPath:
       path: ./conf-grafana/datasource.yaml
       type: File
     name: grafana-datasource
+  - hostPath:
+      path: ./conf-prometheus
+    name: prometheus-config
+  - hostPath:
+      path: ./http
+    name: http