k8sgpt icon indicating copy to clipboard operation
k8sgpt copied to clipboard

feature: api-server logs

Open mstrYoda opened this issue 1 year ago • 3 comments

Checklist:

  • [X] I've searched for similar issues and couldn't find anything matching
  • [ ] I've discussed this feature in the #k8sgpt slack channel

Is this feature request related to a problem?

  • [ ] Yes
  • [X] No

Describe the solution you'd like

What do you think about providing api-server error logs to gpt?

Benefits for the project and its users

It may provide solutions and good insights about cluster errors.

Potential drawbacks

Additional context

mstrYoda avatar Apr 12 '23 17:04 mstrYoda

Hey thanks for the suggestion. I am inclined not to do this as you cannot effectively be deterministic about failures through those logs in many cases and it would open us up to a lot of issues WRT data sensitivity

AlexsJones avatar Apr 12 '23 19:04 AlexsJones

Hey thanks for the suggestion. I am inclined not to do this as you cannot effectively be deterministic about failures through those logs in many cases and it would open us up to a lot of issues WRT data sensitivity

Thank you for your attention. What do you think to offer this feature as an option? People will be able to chose forwarding any selected container's error logs to gpt and try to get feasible solutions 🤔

mstrYoda avatar Apr 12 '23 23:04 mstrYoda

We could build it as an optional analyzer, but what would it be looking for @mstrYoda ?

AlexsJones avatar Apr 17 '23 10:04 AlexsJones

Closing out and putting as a suggestion for future development

AlexsJones avatar Apr 28 '23 10:04 AlexsJones