X-Git-Url: https://piware.de/gitweb/?p=learn-metrics.git;a=blobdiff_plain;f=learn-metrics.yaml;h=273b6480453d5664775d2f950974d7c58889a14d;hp=4d76cf97b920c923b130828fae6ced8917d86604;hb=19d59085ab65db773257b19f37e4ac1ba5105d27;hpb=b4641dd2003ec91a1bd356814d3507f2477725e0 diff --git a/learn-metrics.yaml b/learn-metrics.yaml index 4d76cf9..273b648 100644 --- a/learn-metrics.yaml +++ b/learn-metrics.yaml @@ -26,9 +26,26 @@ spec: - 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