-
Notifications
You must be signed in to change notification settings - Fork 405
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
Failed to connect D-Tale process in hosted notebook #95
Comments
Oooh, kubernetes is a tough one. Let me talk to our core team and get back to you. We were able to get it running but it did take some work |
@felihong I just added this documentation on how we have D-Tale interacting with Kubernetes when using JupyterHub Hope this helps. Let me know if you're still encountering errors. You'll probably want to get whomever manages jupyterhub or kubernetes involved as well. |
Hi @aschonfeld , thanks for the detailed explanation! Below a snippet of the original configuration of my notebook pod's service:
My intuition was modifying the service with multiple target ports, which should be supported by K8S as
However this is immediately reconciled by my Interestingly, I can access to the DTale page (by visiting the ip directly) if I changed the service's type to |
@felihong I think the problem here is that you can't map both port e.g.
Also how are you exposing notebook? I see from the snippet that the k8s service it is a |
Hi @javefang , sorry for the late reply. You are right about the mapping, I specified the My cluster is configured with an
Should I add another |
Hi @felihong , you can map d-tale (port 4000) to a different path (e.g. |
@javefang if you're still having issues I just recently released v.1.8.13 with support for a jupyterhub extension jupyter-server-proxy. Here's the documentation Hopefully this might help with using D-Tale in jupyterhub on top of kubernetes |
Hi there,
I installed
dtale v1.7.11
in my notebook, which is hosted in Google K8S engine as a pod. The DTale process can be assigned properly to a reference:However I failed to connect to it as the the kernel keeps busy when running
print(d)
.I checked the pod logs and realized this has something to do with the port:
I've read that for hosted notebooks, the port
40000
has to be allowed but I'm not quite sure where should I start to configure this. My notebook container is running inside a pod, together with anistio sidecar proxy
. The pod is managed by aStatefulSet
which exposes aService
with a cluster ip.I'm not quite sure if this is the right place to file this issue, plz let me know if I should rather head to the k8s side. And many thanks in advance!
The text was updated successfully, but these errors were encountered: