apiVersion: v1
kind: Service
metadata:
  labels:
    app: ml-pipeline
    app.kubernetes.io/component: api-service
    app.kubernetes.io/instance: api-service-0.2.0
    app.kubernetes.io/managed-by: kfctl
    app.kubernetes.io/name: api-service
    app.kubernetes.io/part-of: kubeflow
    app.kubernetes.io/version: 0.2.0
  name: ml-pipeline
  namespace: kubeflow
spec:
  ports:
  - name: http
    port: 8888
    protocol: TCP
    targetPort: 8888
  - name: grpc
    port: 8887
    protocol: TCP
    targetPort: 8887
  selector:
    app: ml-pipeline
    app.kubernetes.io/component: api-service
    app.kubernetes.io/instance: api-service-0.2.0
    app.kubernetes.io/managed-by: kfctl
    app.kubernetes.io/name: api-service
    app.kubernetes.io/part-of: kubeflow
    app.kubernetes.io/version: 0.2.0
