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