Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

MLflow in central dashboard is not a valid page #233

Open
amybachir opened this issue Oct 8, 2021 · 3 comments
Open

MLflow in central dashboard is not a valid page #233

amybachir opened this issue Oct 8, 2021 · 3 comments

Comments

@amybachir
Copy link

Hi! I'm running off latest commit in argoflow as of today (commit hash cdce0fc) and I have central-dashboard-mlflow turned on. I can see the mlflow tab in the central dashboard but it returns Sorry, /mlflow/abachir/ is not a valid page for my user when I click on it

image

@amybachir
Copy link
Author

It seems there is no virtual service created for the mlflow service. I created the following virtual service:

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
    name: mlflow
    namespace: mlflow
spec:
  gateways:
  - kubeflow/kubeflow-gateway
  hosts:
  - YOUR_DOMAIN_NAME
  http:
  - headers:
      request:
        add:
          x-forwarded-prefix: /mlflow
    match:
    - uri:
        prefix: /mlflow/
    rewrite:
      uri: /
    route:
    - destination:
        host: mlflow.mlflow.svc.cluster.local
        port:
          number: 80

Also, since there isn't a deployment of mlflow in every user namespace, it shouldn't be namespaced in the central dashboard configmap so I removed the ns variable from there:

{
          "type": "item",
          "link": "/mlflow/",
          "text": "MLFlow",
          "icon": "maps:layers"
        }

Now MLflow app shows up correctly in the central dashboard:
Screen Shot 2021-10-09 at 2 09 18 PM

@jai
Copy link
Contributor

jai commented Oct 16, 2021

Are you accessing the console via port-forwarding or through the publicly-mapped FQDN?

@amybachir
Copy link
Author

Are you accessing the console via port-forwarding or through the publicly-mapped FQDN?

I’m using a public domain name.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants