apiVersion: v1
kind: Service
metadata:
  name: ml-pipeline
  annotations:
    prometheus.io/port: "8888"
    prometheus.io/scrape: "true"
spec:
  ports:
  - name: http
    port: 8888
    protocol: TCP
    targetPort: 8888
  - name: grpc
    port: 8887
    protocol: TCP
    targetPort: 8887
  selector:
    app: ml-pipeline