X-Git-Url: https://piware.de/gitweb/?p=learn-metrics.git;a=blobdiff_plain;f=learn-metrics.yaml;h=6966d782784f1423579ec55caef08cdfaeeec434;hp=4d76cf97b920c923b130828fae6ced8917d86604;hb=762850f8170ad2411fe014b5af63d4820ac9301f;hpb=b4641dd2003ec91a1bd356814d3507f2477725e0 diff --git a/learn-metrics.yaml b/learn-metrics.yaml index 4d76cf9..6966d78 100644 --- a/learn-metrics.yaml +++ b/learn-metrics.yaml @@ -26,9 +26,27 @@ spec: - containerPort: 9090 hostPort: 3001 protocol: TCP + volumeMounts: + - name: prometheus-config + mountPath: /etc/prometheus/prometheus.yml + 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/prometheus.yml + type: File + name: prometheus-config + - hostPath: + path: ./http + name: http