X-Git-Url: https://piware.de/gitweb/?p=learn-metrics.git;a=blobdiff_plain;f=learn-metrics.yaml;h=8bde4458aa2e0fe20970d8af94672ecc791ceafe;hp=7c1c7ea563403d001bfec83d51e3b165bb50c801;hb=91a741f5b32f8ba3e72c6136195410e02b01e026;hpb=6f7c7e47c29340f4f7bfbb5630e3d01d18250df4;ds=sidebyside diff --git a/learn-metrics.yaml b/learn-metrics.yaml index 7c1c7ea..8bde445 100644 --- a/learn-metrics.yaml +++ b/learn-metrics.yaml @@ -21,8 +21,8 @@ spec: - name: grafana-config mountPath: /grafana-config readOnly: true - - name: grafana-datasource - mountPath: /etc/grafana/provisioning/datasources/datasource.yaml + - name: grafana-provisioning + mountPath: /etc/grafana/provisioning readOnly: true - image: quay.io/prometheus/prometheus:latest @@ -36,23 +36,26 @@ spec: mountPath: /etc/prometheus readOnly: true - - image: quay.io/bitnami/nginx + - image: quay.io/jitesoft/nginx name: httpd + ports: + - containerPort: 80 + hostPort: 3002 + protocol: TCP volumeMounts: - name: http - mountPath: /app + mountPath: /usr/local/nginx/html readOnly: true volumes: - hostPath: - path: ./conf-grafana/datasource.yaml - type: File - name: grafana-datasource + path: ./grafana-provisioning + name: grafana-provisioning - hostPath: - path: ./conf-grafana + path: ./grafana-config name: grafana-config - hostPath: - path: ./conf-prometheus + path: ./prometheus-config name: prometheus-config - hostPath: path: ./http