apiVersion: v1
kind: Service
metadata:
  labels:
    app: unifi-exporter
  name: unifi-exporter
  namespace: monitoring
  annotations:
    prometheus.io/scrape: 'true'
    prometheus.io/port: '9091'
    
spec:
  ports:
  - name: http-metrics
    port: 9130
    protocol: TCP
    targetPort: metrics
  selector:
    app: unifi-exporter

