teamhephy / controller

Hephy Workflow Controller (API)
https://teamhephy.com
MIT License
14 stars 26 forks source link

(WIP) feat(controller): make K8S APIs capabilities data available at runtime #95

Closed kingdonb closed 3 years ago

kingdonb commented 5 years ago

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.

Cryptophobia commented 5 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?

kingdonb commented 5 years ago

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.