A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
While reviewing #1223, it became evident that only the KERNEL_-prefixed environment variables are flowed to the CRD pod. This bypasses those envs defined in the kernel.jsonenv: stanza, along with any defined in the inherited_envs (derived from the EG process itself) and client_envs (that are derived from the kernel start request's payload). Something similar to what is done in the kubernetes launcher is what is needed. (Please note that the envs in os.environ should constitute what should be conveyed to the pod since, at that point, this is the intended environment of the kernel process.
While reviewing #1223, it became evident that only the
KERNEL_
-prefixed environment variables are flowed to the CRD pod. This bypasses those envs defined in thekernel.json
env:
stanza, along with any defined in theinherited_envs
(derived from the EG process itself) andclient_envs
(that are derived from the kernel start request's payload). Something similar to what is done in the kubernetes launcher is what is needed. (Please note that the envs inos.environ
should constitute what should be conveyed to the pod since, at that point, this is the intended environment of the kernel process.