Mercurial > code > home > repos > homeauto
view service/powerEagle/plugs/deploy.yaml @ 1749:4b29ce991e59
cloudfree plug sends mqtt metrics, which we export to victoriametrics
author | drewp@bigasterisk.com |
---|---|
date | Sun, 28 Apr 2024 16:01:38 -0700 |
parents | |
children | 610beb3248d1 |
line wrap: on
line source
apiVersion: apps/v1 kind: Deployment metadata: name: plugs spec: replicas: 1 selector: matchLabels: app: plugs template: metadata: labels: app: plugs annotations: prometheus.io/scrape: "true" spec: containers: - name: plugs image: reg:5000/plugs_exporter_image workingDir: /opt command: - pdm - run - python - exporter.py ports: - containerPort: 8005 --- apiVersion: v1 kind: Service metadata: name: plugs spec: ports: - { port: 80, targetPort: 8005 } selector: app: plugs