Skip to content

Can't start JupyterHub singleuser env using pangeo image #542

@petrokashlikov

Description

@petrokashlikov

Describe the bug
Hi, I'm trying to configure using Pangeo notebook to work with Dask. I've installed daskhub helm chart, but when I launch environment, Jupyterhub always throw error "Spawn failed: Server at http://xx.x.xx.xx:8888/user/user-1/ didn't respond in 120 seconds". I've figured out that this is due to Jupyter server not being launched when pod is started.

To Reproduce
Below is configuration for this singleuser profile. As I see pangeo base image has ENTRYPOINT /srv/start an CMD is commented out. I tried passing various cmd options("jupyter --ip 0.0.0.0", "jupyterhub-singleuser --ip=0.0.0.0 --port=8888") via kubespawner, but it doesn't work.

- display_name: Dask
        description: "Pangeo Notebooks | Karpenter AutoScaling"
        kubespawner_override:
          image: pangeo/pangeo-notebook:2024.03.30
          node_selector:
            NodePool: default
          cpu_guarantee: 2
          mem_guarantee: 2G
          cpu_limit: 4
          mem_limit: 8G
          cmd: "jupyterhub-singleuser --ip=0.0.0.0 --port=8888"  

Expected behavior
Jupyter server would start in the pod when using pangeo-notebook image

Docker Image Version (e.g. quay.io/pangeo/ml-notebook:2023.02.27):
pangeo/pangeo-notebook:2024.03.30

Infrastructure (Where you are running this image):
JupyterHub on EKS in AWS Cloud

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions