-
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 kubeflow kfp authentication #214
Comments
Hi, kfp library uses Google's ADC under the hood. If you're running Kubeflow on GCP you, could install google cloud SDK and run |
If you have custom authorization, one option is to generate
|
Hi @em-pe , my Kubeflow instance is running in Azure, with dex configured for authentication |
Hi @marrrcin , what would the token then be? Is it the cookie generated from browser? |
If you're using DEX, then maybe just setting appropriate username and password in environment variables will be sufficient as it's used here
Unfortunately, that piece of code was tested long time ago and it's error prone, so you might as well use the flow with context.json , obtain cookie and set client_authentication_cookie in the JSON instead of client_authentication_header_(...) .
|
@cpereir1 If you're using Dex, then please follow this steps: https://kedro-kubeflow.readthedocs.io/en/0.7.3/source/03_getting_started/05_authentication.html#kfp-behind-dex-with-authservice - they work well, tested in Kubeflow 1.4 and Kubeflow 1.6. |
Hi!
I am wondering how does kedro authenticate to kfp internally. I am using the kedro sample iris project locally and the kedro kubeflow plugin to deploy the iris pipeline to a kubeflow pipelines deployed instance (cloud). All seems to go fine except that I don't see any instructions in the tutorials to authenticate the kfp client? I believe this is a necessary step from the kfp sdk docs, when using the client outside the cluster.
Is this already handled by the kedro kubeflow plugin somehow?
I am not able to
kedro kubeflow upload-pipeline
. Could the lack of auth be the reason?Thank you so much!
The text was updated successfully, but these errors were encountered: