Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Convey working directory of notebook #21

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

kevin-bates
Copy link
Member

When communicating with a Gateway that launches container-based kernels,
it is desirable to mirror the notebook's working directory in cases where
the container is sharing the notebook directory's volume. This is a
common configuration in Jupyter Hub installations running on Kubernetes
where the Notebook/Lab instance enables the mounting of the user's home
directory and those same mounts are used via the Enterprise Gateway
kernel images. This change adds KERNEL_WORKING_DIR to the json body
of the kernel creation request which enables the receiving Gateway to
potentially act on that value when launching kernel images.

When communicating with a Gateway that launches container-based kernels,
it is desirable to mirror the notebook's working directory in cases where
the container is sharing the notebook directory's volume.  This is a
common configuration in Jupyter Hub installations running on Kubernetes
where the Notebook/Lab instance enables the mounting of the user's home
directory and those same mounts are used via the Enterprise Gateway
kernel images.  This change adds `KERNEL_WORKING_DIR` to the json body
of the kernel creation request which enables the receiving Gateway to
potentially act on that value when launching kernel images.
Copy link
Member

@lresende lresende left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants