-
Notifications
You must be signed in to change notification settings - Fork 791
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 #3242
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). For more information, open the CLA check for this pull request. |
Hi @GerardoGR. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: GerardoGR The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…ti-user cluster is not working By following [Connecting to Kubeflow Pipelines using the SDK client in multi-user-mode](https://www.kubeflow.org/docs/components/pipelines/sdk/connect-api/#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: ```python 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: ```python import kfp client = kfp.Client() print(client.list_experiments()) ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ok-to-test
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
/close Cause: stale PR - page no longer exists. |
@varodrig: Closed this PR. In response to this:
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. |
Closes #3241