Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve user guide wrt exposing notebook in non-cloud setup #625

Merged
merged 2 commits into from
Apr 11, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,23 @@ tf-hub-lb ClusterIP 10.11.245.94 <none> 80/TCP 1
...
```

By default we are using ClusterIPs for the JupyterHub UI. This can be changed to a LoadBalancer by issuing `ks param set kubeflow-core jupyterHubServiceType LoadBalancer`, however this will leave your Jupyter Notebook open to the Internet.
By default we are using ClusterIPs for the JupyterHub UI. This can be changed to one of the followings:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "following"


To connect to your [Jupyter Notebook](http://jupyter.org/index.html):
- NodePort (for non-cloud) by issuing
```
ks param set kubeflow-core jupyterHubServiceType NodePort
ks apply ${KF_ENV}
```

- LoadBalancer (for cloud) by issuing
```
ks param set kubeflow-core jupyterHubServiceType LoadBalancer
ks apply ${KF_ENV}
```

however this will leave your Jupyter Notebook open to the Internet.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "notebook"


To connect to your [Jupyter Notebook](http://jupyter.org/index.html) locally:

```
PODNAME=`kubectl get pods --namespace=${NAMESPACE} --selector="app=tf-hub" --output=template --template="{{with index .items 0}}{{.metadata.name}}{{end}}"`
Expand Down