Skip to content

Commit 5b6caa1

Browse files
jlewik8s-ci-robot
authored andcommitted
Fix port-forarding instructions; port-forward to istio gateway (kubeflow#1067)
* Fix port-forarding instructions; port-forward to istio gateway See kubeflow#1041 and kubeflow/kubeflow#3618 * With 0.6 if no auth is setup and you want to connect via port-forwarding then you need to port-forward to the ISTIO gateway; not ambassador * I suspect the original suggestion in kubeflow#1041 to port-forward to Ambassador only worked in the basic auth setting in which case we are still setting up Ambassador. Fix: kubeflow#1041 * Cleanup the text.
1 parent 2d9564c commit 5b6caa1

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

content/docs/other-guides/accessing-uis.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ weight = 1
77
Kubeflow includes a number of web user interfaces (UIs). This document provides
88
instructions on how to connect to them.
99

10+
To access the Kubeflow UI's you need to connect to the
11+
[ISTIO gateway](https://istio.io/docs/concepts/traffic-management/#gateways) that
12+
provides access to the Kubeflow
13+
[service mesh](https://istio.io/docs/concepts/what-is-istio/#what-is-a-service-mesh).
14+
15+
How you access the ISTIO gateway will vary depending on how you've configured it.
16+
17+
1018
## Accessing Kubeflow web UIs
1119

1220
The Kubeflow web UIs include the following:
@@ -47,6 +55,17 @@ guide to
4755

4856
## Using kubectl and port-forwarding
4957

58+
If you didn't configure Kubeflow to integrate with an identity provider and perform
59+
any authorization then you can port-forward directly to the ISTIO gateway.
60+
61+
Port-forwarding typically won't work if any of the following are true
62+
63+
* you've configured the ISTIO ingress to only accept
64+
HTTPS traffic on a specific domain or IP address
65+
66+
* you've configured the ISTIO ingress to perform an authorization check (e.g. using IAP or Dex)
67+
68+
5069
You can access Kubeflow via `kubectl` and port-forwarding as follows:
5170

5271
1. Install `kubectl` if you haven't already done so:
@@ -57,7 +76,7 @@ You can access Kubeflow via `kubectl` and port-forwarding as follows:
5776
installation guide](https://kubernetes.io/docs/tasks/tools/install-kubectl/).
5877

5978
1. Use the following command to set up port forwarding to the
60-
[Ambassador](https://www.getambassador.io/) service that provides the reverse proxy.
79+
[ISTIO gateway](https://istio.io/docs/tasks/traffic-management/ingress/ingress-control/).
6180

6281
{{% code-webui-port-forward %}}
6382

Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<pre><code>export NAMESPACE=istio-system
2-
kubectl port-forward svc/ambassador -n ${NAMESPACE} 8080:80
2+
kubectl port-forward -n istio-system svc/istio-ingressgateway 8080:80
33
</code></pre>

0 commit comments

Comments
 (0)