@@ -112,34 +112,11 @@ Create ``config.yaml``
112
112
113
113
Create a file called ``config.yaml ``.
114
114
115
- Exposing JupyterHub
116
- ~~~~~~~~~~~~~~~~~~~
115
+ Exposing JupyterHub and BinderHub
116
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117
117
118
- By default, JupyterHub is exposed as a ``LoadBalancer ``.
119
- If you want to expose JupyterHub using an ingress controller,
120
- you need to add::
121
-
122
- jupyterhub:
123
- proxy:
124
- service:
125
- type: ClusterIP
126
- ingress:
127
- enabled: true
128
- annotations:
129
- # replace with your ingress class
130
- kubernetes.io/ingress.class: "nginx"
131
- hosts:
132
- - jupyterhub.XXX.XXX.XXX.XXX.nip.io
133
-
134
- The above snippet assumes that you are using `Ingress NGINX Controller <https://kubernetes.github.io/ingress-nginx/ >`_
135
- and uses `nip.io <https://nip.io/ >`_ to provide you with a temporary domain
136
- to the IP ``XXX.XXX.XXX.XXX ``.
137
-
138
- Exposing BinderHub
139
- ~~~~~~~~~~~~~~~~~~
140
-
141
- By default, BinderHub is exposed as ``LoadBalancer ``.
142
- If you want to expose BinderHub using a ingress controller,
118
+ By default, JupyterHub and BinderHub is exposed as a ``LoadBalancer ``.
119
+ If you want to expose JupyterHub and BinderHub using an ingress controller,
143
120
you need to add::
144
121
145
122
service:
@@ -148,17 +125,31 @@ you need to add::
148
125
ingress:
149
126
enabled: true
150
127
annotations:
151
- # use the shared ingress-nginx
128
+ # replace with your ingress class
152
129
kubernetes.io/ingress.class: "nginx"
153
130
https:
154
131
# This is unsafe! Only se for local development
155
132
enabled: false
156
133
hosts:
134
+ # replace with your domain for BinderHub
157
135
- binderhub.XXX.XXX.XXX.XXX.nip.io
158
136
137
+ jupyterhub:
138
+ proxy:
139
+ service:
140
+ type: ClusterIP
141
+ ingress:
142
+ enabled: true
143
+ annotations:
144
+ # replace with your ingress class
145
+ kubernetes.io/ingress.class: "nginx"
146
+ hosts:
147
+ # replace with your domain for JupyterHub
148
+ - jupyterhub.XXX.XXX.XXX.XXX.nip.io
149
+
159
150
The above snippet assumes that you are using `Ingress NGINX Controller <https://kubernetes.github.io/ingress-nginx/ >`_
160
151
and uses `nip.io <https://nip.io/ >`_ to provide you with a temporary domain
161
- to the IPv6 ``XXX.XXX.XXX.XXX ``.
152
+ to the IP ``XXX.XXX.XXX.XXX ``.
162
153
163
154
Expand ``config.yaml ``
164
155
----------------------
0 commit comments