-
Notifications
You must be signed in to change notification settings - Fork 21
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
Kedro to Kubeflow pipeline iris AttributeError: 'NoneType' object has no attribute 'id' #211
Comments
Hey @cpereir1! That's interesting issue, let's investigate together. Could you please provide me a bit more of a context?
|
Hi @szczeles ! Thank you so much for your reply :) Running
Running |
If you use the latest plugin version, |
Oops, apologies. Yes it does. Here it goes attached. |
Hm, all looks good, both pipeline yaml and the packages you have installed. Maybe the exception is a result of bad handling of connectivity issue. Can you please run the following?
|
Hmm, I guess that is the issue. How could I correctly configure the connectivity or authenticate to the Kubeflow instance from kedro/kedro kubeflow? This is the output
|
It looks you didn't provide a valid Kubeflow Pipelines URL when doing
Also, if you use Dex for authentication, you need additional setup, as described in the docs |
Hi @szczeles thank you. Regarding the Dex authentication additional setup: we would like to avoid hardcoding a static user & password, and we disabled this by design choice. Would there be other, more dynamic ways, of authenticating a kedro kubeflow plugin user (from local environment) to the kubeflow pipelines (living in a cloud kubernetes cluter behind dex)? |
Also, could you confirm that, if the kubeflow pipelines url is correct, but the error persists, the reason should be inability to authenticate? Thank you! |
@cpereir1 Unfortunately, at the time, Dex doesn't allow programmatic authentication, see: kubeflow/kfctl#140. Ideally, we would just add ID Token in the headers and Dex would check its validity and return a local token (exchanged for session cookie) for kubeflow services interaction. Unfortunately, the feature request is still open since 2019... And yes, if kubeflow pipelines URL is correct but you still see an exception, it's likely due to an authentication issue (with no |
Hi, I am trying to turn the kedro iris sample project into a kubeflow pipelines deployment.
I have the following in place:
Running kedro kubeflow upload-pipeline which gives me the following error:
This is my kubeflow.yaml:
What could I be doing wrong?
Local Kedro version: 0.18.4
Thank you!
The text was updated successfully, but these errors were encountered: