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
JupyterHub spawner: upstream request timeout #261
Comments
We already set a large timeout of 10 minutes here |
I tried to reproduce: In my own cluster, create new ksonnet app (ks init) and deploy the kubeflow-core. Is this fixed? Is the 5min wait expected? |
The 5 minute timeout is probably do to the image pull timeout. How were you connecting to the cluster? I've observed this upstream request timeout when using IAP on GKE. So one possibility is that its a timeout in the GCE loadbalancer, or envoy. If we observe it when using IAP but not when using kubectl port-forward to connect directly to JupyterHub that would indicate the problem is upstream of JupyterHub. |
Ah, I didn't enable IAP |
I can take a look at this. I think this is coming from envoy as well. |
The timeout specified in envoy config is 10 seconds for jupyterhub https://github.com/kubeflow/kubeflow/blob/master/kubeflow/core/iap.libsonnet#L397 I'll try increasing this to see if it helps |
Downloading images takes some time - envoy simply shows upstream request timeout which is a bad user experience Run jsonnet autoformat Fixes #261
* add selector for application controller statefulset * fix tests
* Add readinessProbe for vizier-db Signed-off-by: Koichiro Den <den@valinux.co.jp> * Fix MYSQL_ROOT_PASSWORD Fixes: 67e94c7 ("Set MYSQL_ROOT_PASSWORD via Secret (kubeflow#253)") Signed-off-by: Koichiro Den <den@valinux.co.jp> * Add simple loop to wait for DB connection successfully opened Signed-off-by: Koichiro Den <den@valinux.co.jp>
When I go to JupyterHub and spawn my notebook I get
The jupyter pod is actually in the container creating state. Pulling the image take a long time because it is so large.
If I refresh it shows up.
My guess is there is some sort of timeout in JupyterHub and maybe we just need to increase it? Perhaps its a setting in KubeSpawner?
/cc @yuvipanda
The text was updated successfully, but these errors were encountered: