-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorporate Viper #1827
Incorporate Viper #1827
Conversation
0e3ef5b
to
fed11c5
Compare
/hold |
I agree but I would still prefer to have the efforts split into different PRs since it will be easier to review.
|
ACK @dgrisonnet, I'll break this PR up. |
c2d4dbb
to
1214730
Compare
1cc84ba
to
ca60701
Compare
Ready for review. |
Tidying up the commits. |
4e2797d
to
2b2b205
Compare
--config flag defines the path to the kube-state-metrics options config file.
Reload KSM on-the-fly when a change is detected in the configuration. Meta changes (will squash)
Add end-to-end testing to verify hot-reloading for event-based changes stemming from the config file. Also, * sent in a doc fix that was missed earlier: https://github.com/kubernetes/kube-state-metrics/pull/1890/files#diff-380eca5a922c0ddbf67f04daefc6823e7ef0e197434d3a826d39c7063cdfa6d6R15, * updated fsnotify and viper dependencies (v1.6.0 and v1.14.0 respectively). Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Ready for review. |
/hold cancel Thanks for this contribution @rexagod ! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mrueg, rexagod The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it: Add
--config
flag to support supplying options from a config file, and hot-reload on any changes to it.How does this change affect the cardinality of KSM: No change.
Which issue(s) this PR fixes: Fixes #1738