apiVersion: v1
kind: Service
metadata:
  name: cloudwatch-exporter
  annotations:
    prometheus.io/scrape: "true"
    prometheus.io/port: "8080"
  labels:
    app: cloudwatch-exporter
spec:
  ports:
  - name: external
    port: 80
    targetPort: web
    protocol: TCP
  - name: metrics
    port: 8080
    targetPort: metrics
    protocol: TCP
  selector:
    app: cloudwatch-exporter