-
Notifications
You must be signed in to change notification settings - Fork 756
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
Create kubeflow pipeline without Kubeflow UI #827
Comments
Issue-Label Bot is automatically applying the labels:
Please mark this comment with 👍 or 👎 to give our bot feedback! |
@james-jwu Hey James, is there someone that might answer this question |
/assign @Bobgy Yuan might know the answer |
Hi @ajinkya933, you can follow guide here: https://www.kubeflow.org/docs/gke/pipelines/authentication-sdk/#how-sdk-connects-to-kubeflow-pipelines-api. KFP sdk needs an endpoint it can use to access the api server, you can port-forward that endpoint to your localhost. |
@Bobgy In my ipynb Cell-10 I have (https://github.com/ajinkya933/streamlit-docker/blob/master/Simple%20Notebook%20Pipeline.ipynb)
Which throws error when I run the pipeline outside Kubeflow UI ( I run it through .py file on my ubuntu terminal).
these donot work. The link https://www.kubeflow.org/docs/gke/pipelines/authentication-sdk/#how-sdk-connects-to-kubeflow-pipelines-api mentions steps to do it on Google cloud. How can I do the same on local ubuntu based installation of Kubeflow. Please elaborate more on how to port forward and start pipeline on Ubuntu machine . As in what changes do I make to ipynb to make it work ? |
You need to run
first. You can verify whether it works by opening localhost:3000 in your browser, it should show KFP UI |
I was able to solve it, thanks to @Bobgy for the pointers. Here is the solution https://ajinkya93.atlassian.net/l/c/008a1Moc |
@ajinkya933 would you mind opening a new issue to make each issue focused? |
I have Kubeflow installed on my local Ubuntu machine To install it I have used microk8 (https://ubuntu.com/tutorials/deploy-kubeflow-ubuntu-windows-mac#1-overview) .
I have following jupyter notebook
https://github.com/ajinkya933/streamlit-docker/blob/master/Simple%20Notebook%20Pipeline.ipynb
I am running this notebook from jupyter notebook via terminal. It gives me error
I am not using kubeflow UI to run this notebook. How can I NOT use Kubeflow UI but still run this pipeline mentioned in my ipynb. ?
My work requires creating Kubeflow pipelines directly through terminal without using kubeflow UI. Is this possible ?
The text was updated successfully, but these errors were encountered: