File tree 1 file changed +7
-16
lines changed
1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -233,6 +233,8 @@ properties:
233
233
```python
234
234
c.JupyterHub.admin_access = true
235
235
c.JupyterHub.admin_users = ["jovyan1", "jovyan2"]
236
+ c.KubeSpawner.k8s_api_request_timeout = 10
237
+ c.GitHubOAuthenticator.allowed_organizations = ["jupyterhub"]
236
238
```
237
239
238
240
Then, you would be able to represent it with this configuration like:
@@ -245,22 +247,11 @@ properties:
245
247
admin_users:
246
248
- jovyan1
247
249
- jovyan2
248
- ```
249
-
250
- __Example__
251
-
252
- If your kubernetes pods take longer than usual to spawn, the users notebooks
253
- may fail to spawn with an error like `<user>'s server failed to start in 30000
254
- seconds, giving up`. In such scenarios, you may need to adjust
255
- [KubeSpawner defaults](https://jupyterhub-kubespawner.readthedocs.io/en/latest/spawner.html#kubespawner.KubeSpawner.k8s_api_request_timeout)
256
- which can also be done using `hub.config`. For example,
257
-
258
- ```yaml
259
- hub:
260
- config:
261
- KubeSpawner:
262
- k8s_api_request_timeout: 3600
263
- ...
250
+ KubeSpawner:
251
+ k8s_api_request_timeout: 10
252
+ GitHubOAuthenticator:
253
+ allowed_organizations:
254
+ - jupyterhub
264
255
```
265
256
266
257
```{admonition} YAML limitations
You can’t perform that action at this time.
0 commit comments