News for hackers. Stuff that matters.
Re:Show HN: K8sAI – open-source GPT CLI tool for Kubernetes by mnahkies on Thursday May 02, 2024 @02:51PM (#40240042)
kubectl also offers the `kubectl explain someresourcekind.someproperty` command which might be a nice way to get docs / schemas for CRDs (custom resource definitions) - though you'd need your tool to essentially RAG from the cluster in question to introspect it this way which might be a bit hairy
Re:Show HN: K8sAI – open-source GPT CLI tool for Kubernetes by wilson090 on Thursday May 02, 2024 @03:16PM (#40240329)
I’ve noticed the GPT agent running kubectl explain when trying to diagnose an issue. I think it could be a nice enhancement to have a way to place that into the context ahead of time, but the commands would have to be a bit more rigid in that the user would have to specify the resource to explain ahead of time.

I’ll add an issue for this though since I think it could definitely improve the performance!