apiVersion: v1
kind: Service
metadata:
  name: tf-job-operator
  namespace: kubeflow
  labels:
    app: tf-job-operator
    app.kubernetes.io/component: tfjob
    app.kubernetes.io/name: tf-job-operator
    kustomize.component: tf-job-operator
  annotations:
    prometheus.io/path: /metrics
    prometheus.io/port: "8443"
    prometheus.io/scrape: "true"
spec:
  type: ClusterIP
  selector:
    name: tf-job-operator
    app.kubernetes.io/component: tfjob
    app.kubernetes.io/name: tf-job-operator
    kustomize.component: tf-job-operator
  ports:
  - name: monitoring-port
    port: 8443
    targetPort: 8443
