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

[Feature]: Add kubeconfig option in Analyze API to call a remote cluster Analyze #1271

Open
2 tasks done
lili-wan opened this issue Oct 11, 2024 · 1 comment · May be fixed by k8sgpt-ai/schemas#35
Open
2 tasks done

Comments

@lili-wan
Copy link
Contributor

lili-wan commented Oct 11, 2024

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?

No

Problem Description

We are running a central platform to manage cluster fleets and we would like to run k8sgpt from central cluster instead of running operator in all the clusters. therefore, we need to pass in kubeconfig when we call Analyze from central cluster to managed cluster

Solution Description

Add kubeconfig option in Analyze API

Benefits

Enabling the capability to run analyze in a remote cluster

Potential Drawbacks

No response

Additional Information

https://k8sgpt.slack.com/archives/C050SKW7SHF/p1728506662655359

@AlexsJones
Copy link
Member

Before we do this @lili-wan I just want to challenge a thought here - Should we be passing the raw kubeconfig like this over rpc or should we point it to another secret in the cluster. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Proposed
2 participants