Skip to content
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

Merged
merged 3 commits into from
Nov 17, 2022
Merged

Incorporate Viper #1827

merged 3 commits into from
Nov 17, 2022

Commits on Nov 16, 2022

  1. Add --config flag

    --config flag defines the path to the kube-state-metrics options config file.
    rexagod committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    5888a7e View commit details
    Browse the repository at this point in the history
  2. Implement hot-reloading based on config changes

    Reload KSM on-the-fly when a change is detected in the configuration.
    
    Meta changes (will squash)
    rexagod committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    9860f46 View commit details
    Browse the repository at this point in the history
  3. Add end-to-end testing to verify hot-reloading

    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>
    rexagod committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    f8360a8 View commit details
    Browse the repository at this point in the history