k8sgpt-ai/k8sgpt

[Feature]: Cilium integration support

nimishamehta5 opened this issue · 0 comments

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

Cilium is complex and it would be helpful if k8sGPT could analyze and provide suggestions on common Cilium errors.

Solution Description

Add an integration for Cilium, which would look at some Cilium CRDs and gather status / errors. If the user has cilium CLI installed, we can get the cilium status -o json in JSON format directly from that command, which has a comprehensive set of checks. If Cilium CLI is not available, we can perform a limited set of basic checks on come of the common Cilium CRDs.

Benefits

This would be beneficial to analyze clusters which have Cilium installed.

Potential Drawbacks

Running the Cilium CLI cilium status -o json command could be slow.

Additional Information

No response