3 ms·
kubectl also offers the `kubectl explain someresourcekind.someproperty` command which might be a nice way to get docs / schemas for CRDs (custom resource defini
by mnahkies 2y ago
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
- wilson090 2y agoI’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!