Version v0.5 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.

Accessing Kubeflow UIs

How to access the Kubeflow web UIs

Kubeflow includes a number of web user interfaces (UIs). This document provides instructions on how to connect to them.

Accessing Kubeflow web UIs

Kubeflow comes with a number of web UIs, including:

  • Argo UI
  • Central UI for navigation
  • Jupyter notebooks
  • Katib
  • TFJobs Dashboard

To make it easy to connect to these UIs Kubeflow provides a left hand navigation bar for navigating between the different applications.

Instructions below indicate how to connect to the Kubeflow landing page. From there you can easily navigate to the different services using the left hand navigation bar. The landing page looks like this:

Kubeflow UI

Google Cloud Platform (Kubernetes Engine)

If you followed the guide to deploying Kubeflow on GCP, Kubeflow is deployed with Cloud Identity-Aware Proxy (Cloud IAP) or basic authentication, and the Kubeflow landing page is accessible at a URL of the following pattern:

https://<name>.endpoints.<project>.cloud.goog/

This URL brings up the landing page illustrated above.

Using Kubectl and port-forwarding

You can use the following command to set up port forwarding to the Ambassador service that provides the reverse proxy.

export NAMESPACE=kubeflow
kubectl port-forward svc/ambassador -n ${NAMESPACE} 8080:80

You can then access the central navigation dashboard at:

http://localhost:8080/
  • This will only work if you haven’t enabled basic auth or IAP. If authentication is enabled requests will be rejected because you are not connecting over https and attaching proper credentials.

  • Depending on how you’ve configured Kubeflow, not all UIs will work behind port-forwarding to the reverse proxy

    • Some web applications need to be configured to know the base URL they are serving on
    • So if you deployed Kubeflow with an ingress serving at https://acme.mydomain.com and configured an application to be served at the URL https://acme.mydomain.com/myapp then the app may not work when served on https://localhost:8080/myapp because the paths do not match.

Next steps

See how to set up your Jupyter notebooks in Kubeflow.