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 fa88f67 commit 760c1e3Copy full SHA for 760c1e3
src/codeflare_sdk/cluster/cluster.py
@@ -406,8 +406,8 @@ def get_current_namespace(): # pragma: no cover
406
407
def get_cluster(cluster_name: str, namespace: str = "default"):
408
try:
409
- config.load_kube_config()
410
- api_instance = client.CustomObjectsApi()
+ config_check()
+ api_instance = client.CustomObjectsApi(api_config_handler())
411
rcs = api_instance.list_namespaced_custom_object(
412
group="ray.io",
413
version="v1alpha1",
0 commit comments