Skip to content

Commit dbd2f27

Browse files
committed
Update docs to get public IP of proxy, based on kubectl recommendation
After installing a helm chart, kubectl outputs the command to get the public IP of the proxy. This should be used as a default in the docs: You can find the public (load-balancer) IP of JupyterHub by running: > kubectl -n ... get svc proxy-public -o jsonpath='{.status.loadBalancer.ingress[].ip}' > > It might take a few minutes for it to appear\!
1 parent 712dfca commit dbd2f27

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

docs/source/jupyterhub/installation.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -133,21 +133,7 @@ can try with `nano config.yaml`.
133133
available like in the example output.
134134

135135
```
136-
kubectl get service --namespace <k8s-namespace>
137-
```
138-
139-
```
140-
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
141-
hub ClusterIP 10.51.243.14 <none> 8081/TCP 1m
142-
proxy-api ClusterIP 10.51.247.198 <none> 8001/TCP 1m
143-
proxy-public LoadBalancer 10.51.248.230 104.196.41.97 80:31916/TCP 1m
144-
```
145-
146-
If the IP for `proxy-public` is too long to fit into the window, you
147-
can find the longer version by calling:
148-
149-
```
150-
kubectl describe service proxy-public --namespace <k8s-namespace>
136+
kubectl -n <k8s-namespace> get svc proxy-public -o jsonpath='{.status.loadBalancer.ingress[].ip}'
151137
```
152138

153139
6. To use JupyterHub, enter the external IP for the `proxy-public` service in

0 commit comments

Comments
 (0)