kubetoolsca / krs

A GenAI-powered Kubetools Recommender System
https://kubetools.io
Apache License 2.0
91 stars 20 forks source link

[Feature Request]: Enhanced Error Diagnosis Through Graph-Based Contextual Understanding #53

Open karanveersingh5623 opened 3 months ago

karanveersingh5623 commented 3 months ago

Problem:

KRS's current error diagnosis accuracy can be limited by its inability to consider the broader Kubernetes cluster context.

Proposed Solution:

Construct a graph representation of the Kubernetes cluster, extract subgraphs surrounding error-prone nodes, and provide this context to the LLM for improved error analysis.

Benefits:

Increased accuracy of error diagnosis by leveraging contextual information. Enhanced user understanding of Kubernetes cluster topology through visualization. Deeper insights into the root causes of errors.

By incorporating graph-based analysis, KRS can provide more comprehensive and accurate troubleshooting recommendations.

karanveersingh5623 commented 3 months ago

@OluchukwuON , try leveraging a tool like https://github.com/ahmetb/kubectl-tree

OluchukwuON commented 3 months ago

@karanveersingh5623 alright, I will get to it immediately