kind: Service
apiVersion: v1
metadata:
  name: prometheus
  namespace: kube-system
  labels:
    application: prometheus
  annotations:
    prometheus.io/path: /metrics
    prometheus.io/port: "9090"
    prometheus.io/scrape: "true"
spec:
  type: ClusterIP
  ports:
    - port: 80
      targetPort: 9090
      protocol: TCP
  selector:
    application: prometheus
