Version v0.7 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
Kubeflow includes a number of web user interfaces (UIs). This document provides instructions on how to connect to them.
Overview of Kubeflow UIs
The Kubeflow UIs include the following:
- A central Kubeflow UI for navigation between the Kubeflow applications.
- Pipelines for a Kubeflow Pipelines dashboard.
- Notebook Servers for Jupyter notebooks.
- Katib for hyperparameter tuning.
- Artifact Store for tracking of artifact metadata.
Instructions below indicate how to connect to the Kubeflow central UI. From there you can navigate to the different services using the left hand navigation bar.
The central UI dashboard looks like this:
Overview of accessing the Kubeflow UIs
How you access the Istio gateway varies depending on how you’ve configured it.
URL pattern with Google Cloud Platform (GCP)
If you followed the guide to deploying Kubeflow on GCP, the Kubeflow central UI is accessible at a URL of the following pattern:
The URL brings up the dashboard illustrated above.
If you deploy Kubeflow with Cloud Identity-Aware Proxy (IAP), Kubeflow uses the Let’s Encrypt service to provide an SSL certificate for the Kubeflow UI. For troubleshooting issues with your certificate, see the guide to monitoring your Cloud IAP setup.
Using kubectl and port-forwarding
If you didn’t configure Kubeflow to integrate with an identity provider and perform any authorization then you can port-forward directly to the Istio gateway.
Port-forwarding typically does not work if any of the following are true:
You’ve deployed Kubeflow on GCP using the GCP deployment UI or the default settings with the CLI deployment. (If you want to use port forwarding, you must deploy Kubeflow on an existing Kubernetes cluster using the
You’ve configured the Istio ingress to only accept HTTPS traffic on a specific domain or IP address.
You’ve configured the Istio ingress to perform an authorization check (for example, using Cloud IAP or Dex).
You can access Kubeflow via
kubectl and port-forwarding as follows:
kubectlif you haven’t already done so:
- If you’re using Kubeflow on GCP, run the following command on the command
gcloud components install kubectl.
- Alternatively, follow the
- If you’re using Kubeflow on GCP, run the following command on the command line:
Use the following command to set up port forwarding to the Istio gateway.
export NAMESPACE=istio-system kubectl port-forward -n istio-system svc/istio-ingressgateway 8080:80
Access the central navigation dashboard at:
Depending on how you’ve configured Kubeflow, not all UIs work behind port-forwarding to the reverse proxy.
For some web applications, you need to configure the base URL on which the app is serving.
For example, if you deployed Kubeflow with an ingress serving at
https://example.mydomain.comand configured an application to be served at the URL
https://example.mydomain.com/myapp, then the app may not work when served on
https://localhost:8080/myappbecause the paths do not match.
- Set up your Jupyter notebooks in Kubeflow.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.