method to check if SDK is talking to a real KFP API
See original GitHub issueCurrently, there does not seem to be a method on kfp.Client()
which can reliably confirm that the url
provided is actually a Kubeflow Pipelines API.
NOTE: methods like Client().list_pipelines()
return {'next_page_token': None, 'pipelines': None, 'total_size': None}
when run against non-kubeflow apis (which is indistinguishable from there being no pipelines in the cluster).
What is the best way to determine that a kfp.Client()
instance is valid?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
kfp.Client class — Kubeflow Pipelines documentation
API Client for KubeFlow Pipeline. Parameters: host – The host name to use to talk to Kubeflow Pipelines. If not set, the ......
Read more >Using the Kubeflow Pipelines SDK
Install the Kubeflow Pipelines SDK; Run the following command to check the version of the SDK. pip list | grep kfp. The response...
Read more >Google Codelabs
Google Developers Codelabs provide a guided, tutorial, hands-on coding experience. Most codelabs will step you through the process of building a small ...
Read more >Build a pipeline | Vertex AI | Google Cloud
This guide describes how to get started building ML pipelines. Which pipelines SDK should I use? Vertex AI Pipelines can run pipelines built...
Read more >How to use ExitHandler with Kubeflow Pipelines SDK v2
You could try to use the library from kfp.deprecated import dsl if you want the ExitHandler to work the same. – Jose Gutierrez...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could we use the health endpoint to validate this
/apis/v1beta1/healthz
, https://github.com/kubeflow/pipelines/blob/7875b68654a69ca761cb0ba4a920a30925a0e94b/sdk/python/kfp/_client.py#L394-L399This 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.