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

Add prepare-shutdown endpoint to ingesters for down scaling #4718

Merged
merged 5 commits into from
Apr 14, 2023

Commits on Apr 12, 2023

  1. Add prepare-shutdown endpoint to ingesters for down scaling

    This change adds a new HTTP endpoint to ingesters that changes their
    in-memory configuration (with an on-disk backup) such that they will:
    * Unregister from the ring when they stop
    * Flush all in-memory data to object storage when they stop
    
    This differs from the shutdown endpoint because it does not actually
    stop the ingesters, just modifies their configuration in preparation
    for being permanently stopped. This is a requirement of using the
    rollout-operator for gracefully scaling down ingesters in Kubernetes.
    
    See grafana/rollout-operator#47
    
    Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
    56quarters committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    67337cc View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Code review changes

    Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
    56quarters committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    cc02983 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. Code review changes

    Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
    56quarters committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    d0fe669 View commit details
    Browse the repository at this point in the history
  2. Fix import typo

    Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
    56quarters committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    234308b View commit details
    Browse the repository at this point in the history
  3. Update documentation

    Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
    56quarters committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    c09c7fc View commit details
    Browse the repository at this point in the history