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 #3242

Closed
wants to merge 1 commit into from

Conversation

GerardoGR
Copy link

Closes #3241

@google-cla
Copy link

google-cla bot commented May 2, 2022

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.

@google-oss-prow
Copy link

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: GerardoGR
To complete the pull request process, please assign neuromage after the PR has been reviewed.
You can assign the PR to them by writing /assign @neuromage in a comment when ready.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot requested a review from joeliedtke May 2, 2022 16:17
…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())
```
Copy link
Member

@Arhell Arhell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ok-to-test

@stale
Copy link

stale bot commented Sep 21, 2022

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.

@varodrig
Copy link
Contributor

varodrig commented Dec 6, 2024

/close Cause: stale PR - page no longer exists.
requested by @hbelmiro

Copy link

@varodrig: Closed this PR.

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.

@google-oss-prow google-oss-prow bot closed this Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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