k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/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