Skip to content

Commit 1a3ddda

Browse files
committed
Adding support for spawner 'k8s_api_request_timeout' parameter override
1 parent 6d6ad68 commit 1a3ddda

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

jupyterhub/values.schema.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,22 @@ properties:
247247
- jovyan2
248248
```
249249
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+
...
264+
```
265+
250266
```{admonition} YAML limitations
251267
:class: tip
252268
You can't represent Python `Bytes` or `Set` objects in YAML directly.

0 commit comments

Comments
 (0)