Skip to content
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

Connecting to Kubeflow Pipelines using the SDK client from within multi-user cluster is not working #3241

Closed
GerardoGR opened this issue May 2, 2022 · 3 comments

Comments

@GerardoGR
Copy link

By following Connecting to Kubeflow Pipelines using the SDK client in multi-user-mode docs to setup a Jupyter notebook I understand that setting the PodDefault with the sample values would work (adjusted to use the desired namespace) when running the suggested python code:

import kfp
client = kfp.Client(host='http://ml-pipeline-ui.kubeflow:80')
print(client.list_experiments())

But this is not the case, this raises a ApiException: (403): it seems that by setting the host parameter the kfp client doesn't fetch the in-cluster token, therefore the snippet should be more like:

import kfp
client = kfp.Client()
print(client.list_experiments())
@varodrig
Copy link
Contributor

/close

Copy link

@varodrig: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@varodrig
Copy link
Contributor

closing this issue since the documentation has changed and PR was closed.
@GerardoGR please let us know if you are still facing any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants