apiVersion: v1
kind: Service
metadata:
  name: centraldashboard
  namespace: kubeflow
  labels:
    app: centraldashboard
    app.kubernetes.io/component: centraldashboard
    app.kubernetes.io/name: centraldashboard
  annotations:
    getambassador.io/config: |-
      ---
      apiVersion: ambassador/v0
      kind:  Mapping
      name: centralui-mapping
      prefix: /
      rewrite: /
      service: centraldashboard.$(namespace)
spec:
  type: ClusterIP
  selector:
    app: centraldashboard
    app.kubernetes.io/component: centraldashboard
    app.kubernetes.io/name: centraldashboard
  ports:
  - protocol: TCP
    port: 80
    targetPort: 8082
  sessionAffinity: None
