github.com/m3db/m3@v1.5.0/scripts/vagrant/provision/manifests/kube-prometheus/prometheus-service.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    labels:
     5      prometheus: k8s
     6    name: prometheus-k8s
     7    namespace: monitoring
     8  spec:
     9    ports:
    10    - name: web
    11      port: 9090
    12      targetPort: web
    13    selector:
    14      app: prometheus
    15      prometheus: k8s
    16    sessionAffinity: ClientIP