github.com/kubeflow/training-operator@v1.7.0/manifests/base/service.yaml (about)

     1  ---
     2  apiVersion: v1
     3  kind: Service
     4  metadata:
     5    annotations:
     6      prometheus.io/path: /metrics
     7      prometheus.io/scrape: "true"
     8      prometheus.io/port: "8080"
     9    labels:
    10      app: training-operator
    11    name: training-operator
    12  spec:
    13    ports:
    14    - name: monitoring-port
    15      port: 8080
    16      targetPort: 8080
    17    selector:
    18      control-plane: kubeflow-training-operator
    19    type: ClusterIP