Skip to content
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

[BUG] Fail to resolve the api client from a given kubeconfig #2796

Closed
dashanji opened this issue Jun 2, 2023 · 0 comments · Fixed by #2799
Closed

[BUG] Fail to resolve the api client from a given kubeconfig #2796

dashanji opened this issue Jun 2, 2023 · 0 comments · Fixed by #2799
Labels
enhancement New feature or request

Comments

@dashanji
Copy link
Collaborator

dashanji commented Jun 2, 2023

Describe the bug

Deploy graphscope in the spefic kubernetes cluster via kubeconfig

import graphscope
sess = graphscope(k8s_client_config="/opt/kubeconfig")

Get the error

RuntimeError: Resolve kube api client failed.

Update the args and get the right result.

sess = graphscope.session(k8s_client_config={"config_file": "/opt/kubeconfig"})

Expected behavior
Expose the config_file for users only and the session needs to construct the dict.

@dashanji dashanji added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Jun 2, 2023
dashanji added a commit that referenced this issue Jun 2, 2023
…s cluster (#2799)

## What do these changes do?

- Support users to only input the kubeconfig path for connecting the k8s
cluster
- Get the current kubeconfig for vineyardctl.

## Related issue number

Fixes #2796

Signed-off-by: Ye Cao <caoye.cao@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant