Kube-state-metrics future as a library #1922
dgrisonnet
started this conversation in
General
Replies: 2 comments 3 replies
-
I think this is a great point. It is always a challenge to remove features. If we decide to proceed with removing support, maybe we can start by logging a warning that is disabled only when KSM is run from the |
Beta Was this translation helpful? Give feedback.
1 reply
-
Are there any systems that use it as a library? https://github.com/kubernetes/kube-state-metrics/network/dependents seems to be empty |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Kube-state-metrics has been used as a standalone library by many projects for a while now to compensate for the fact that there was no way in the past to enable metrics for CRDs. Now that custom-state-metrics is a thing, I think we should reconsider if we want to continue maintaining kube-state-metrics as a library in the future or encourage our users to move to custom-state-metrics.
Since this is a big supportability breaking change for our users, I would consider that switch to be only possible to do in a new major release.
Beta Was this translation helpful? Give feedback.
All reactions