apiVersion: v1
kind: Service
metadata:
  annotations:
    service.beta.openshift.io/serving-cert-secret-name: prometheus-user-workload-tls
  labels:
    app.kubernetes.io/component: prometheus
    app.kubernetes.io/managed-by: cluster-monitoring-operator
    app.kubernetes.io/name: prometheus
    app.kubernetes.io/part-of: openshift-monitoring
    app.kubernetes.io/version: 2.24.0
    prometheus: user-workload
  name: prometheus-user-workload
  namespace: openshift-user-workload-monitoring
spec:
  ports:
  - name: metrics
    port: 9091
    targetPort: metrics
  - name: thanos-proxy
    port: 10902
    targetPort: thanos-proxy
  selector:
    app: prometheus
    app.kubernetes.io/component: prometheus
    app.kubernetes.io/managed-by: cluster-monitoring-operator
    app.kubernetes.io/name: prometheus
    app.kubernetes.io/part-of: openshift-monitoring
    prometheus: user-workload
  sessionAffinity: ClientIP
  type: ClusterIP
