-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cannot create a Notebook when starting KFP from cloud shell #179
Comments
Adding some context --- this is done through Cloud shell. Maybe Cloud shell does not handle web socket well. |
This issue should be on kubeflow/kubeflow. |
I experienced the same issue. While investigating on my side, I found this usefull post about "Jupyter does not work when accessed from Google Cloud Shell preview" GoogleCloudDataproc/initialization-actions#230 (comment) As a bypass solution, I was able to start a Jupyter Notebook after a little bit of hacking. Here is what I've done: Regular GKE Cluster setup and ML Pipeline installation (using CloudShell)
Access to Jupyter and try to create a Notebook (that will fail)
Fix Jupyter configuration
PS : With this conf, I was able to successfully run the Notebook example https://github.com/kubeflow/pipelines/blob/master/samples/notebooks/Lightweight%20Python%20components%20-%20basics.ipynb |
Thanks @fdasilva59 for finding this out. |
@jlewi is this something you'll willing to change in the notebook config? @fdasilva59 or I can send a PR your way if this is the case. |
@yebrahim Thanks for correcting my configuration change. That's indeed a better choice 👍 Let's wait for the feedback on creating a PR or not ! |
@fdasilva59 can you send a PR to fix this? |
@yebrahim Yes I can look to create a PR in Kubeflow/Kubeflow - That will be my first PR for an Open Source project ! :) I'll check for the Contributor License Agreement today. |
…n ( kubeflow/pipelines#179 ) Little add-on to the jupyter notebook configuration, so that Jupyter Notebook deployed on GKE can be acessed via Cloud Shell (Avoid "Blocking Cross Origin API request" error)
CLA submited today. PR created kubeflow/kubeflow#1956 |
…n ( kubeflow/pipelines#179 ) (#1956) Little add-on to the jupyter notebook configuration, so that Jupyter Notebook deployed on GKE can be acessed via Cloud Shell (Avoid "Blocking Cross Origin API request" error)
…n ( kubeflow/pipelines#179 ) (kubeflow#1956) Little add-on to the jupyter notebook configuration, so that Jupyter Notebook deployed on GKE can be acessed via Cloud Shell (Avoid "Blocking Cross Origin API request" error)
I use Cloud Shell to start KFP. I am able to access KFP UI and complete workflows.
I can spin up Jupyter Notebook but I'm unable to create a notebook. And I am unable to open an uploaded Notebook – getting the error shown below
The text was updated successfully, but these errors were encountered: