Skip to content

Ephemeral and emptyDir volume mounts in profile #886

@PyroGun

Description

@PyroGun

Bug description

Adding volume and volume mount for storage type ephemeral or emptyDir does nothing

How to reproduce

  1. Create a jupyter profile in kubespawner config.yaml
  2. Add
volumes:
  - name: example
    emptyDir:
        sizeLimit: 5Gi
volume_mounts:
  - name: example
    mountPath: /dev/shm

to created profile
3. Deploy new configuration to Z2JH Kubernetes cluster
4. Check that on pod spawn with selected profile has no extra volume mounts in yaml spec

Expected behaviour

volume mount is appended in volume mounts section of pod yaml spec

Actual behaviour

volumes and volume_mounts options seem to be ignored

Your personal set up

using Z2JH Kuberenetes deployment

  • OS:
    Kubernetes v1.29
  • Version(s):
Full environment
# paste output of `pip freeze` or `conda list` here
Configuration
# jupyterhub_config.py
Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions