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

feat: Added kubeconfig in the request to support running Analyzer in remote cluster #34

Closed
wants to merge 2 commits into from

Conversation

lili-wan
Copy link
Contributor

@lili-wan lili-wan commented Oct 11, 2024

Added kubeconfig to the AnalyzeRequest to support API case

Closes k8sgpt-ai/k8sgpt#1271

📑 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

Added kubeconfig in Analyzer request to be consumed by the backend API logic

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

Added kubeconfig to the AnalyzeRequest to support API case

Signed-off-by: lili-wan <[email protected]>
@lili-wan lili-wan changed the title Added kubeconfig in the request to support running Analyzer in remote cluster feat: Added kubeconfig in the request to support running Analyzer in remote cluster Oct 11, 2024
@lili-wan lili-wan closed this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Add kubeconfig option in Analyze API to call a remote cluster Analyze
1 participant