We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 380f4d3 commit 5107aedCopy full SHA for 5107aed
src/codeflare_sdk/cluster/cluster.py
@@ -411,8 +411,8 @@ def get_current_namespace(): # pragma: no cover
411
412
def get_cluster(cluster_name: str, namespace: str = "default"):
413
try:
414
- config.load_kube_config()
415
- api_instance = client.CustomObjectsApi()
+ config_check()
+ api_instance = client.CustomObjectsApi(api_config_handler())
416
rcs = api_instance.list_namespaced_custom_object(
417
group="ray.io",
418
version="v1alpha1",
0 commit comments