apiVersion: v1 kind: Pod metadata: name: prometheus labels: traefik.enable: true traefik.http.routers.prometheus.tls: true traefik.http.routers.prometheus.tls.certresolver: le traefik.http.routers.prometheus.entrypoints: http,https traefik.http.routers.prometheus.rule: Host(`prom.gzr.im`) traefik.http.routers.prometheus.service: prometheus traefik.http.services.prometheus.loadbalancer.server.port: 9090 spec: restartPolicy: Never dnsPolicy: Default dnsConfig: searches: - tail2d6ce.ts.net containers: - name: prom image: quay.io/prometheus/prometheus:v2.52.0 volumeMounts: - mountPath: /etc/prometheus:z name: config readOnly: true - mountPath: /usr/share/prometheus/consoles:z name: config subPath: consoles readOnly: true - mountPath: /usr/share/prometheus/console_libraries:z name: config subPath: console_libraries readOnly: true ports: - containerPort: 9090 protocol: TCP resources: limits: cpu: 100m memory: 200Mi requests: cpu: 25m memory: 100Mi volumes: - name: config hostPath: path: /etc/prometheus type: Directory