Closed kingdonb closed 3 years ago
I wish we could reference some code out there that best handles this version introspection. Do you have any examples from other projects?
I reached out to some heavy-hitters this morning with this very question, hoping we can get a pointer to some example code which solves this.
No answer yet. The prometheus codebase is probably a good example to follow, but also likely won't use many of the APIs we do that are for mutating/scaling cluster resources.
Ref #94
This is a start on runtime inspection of what APIs are provided by a cluster. This is meant to replace the version number parsing that we use everywhere.