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 support for cluster downsize #213

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add support for cluster downsize #213

wants to merge 2 commits into from

Commits on Jan 10, 2024

  1. add support for cluster downsize

    we do this by way of adding backoffLimitPerIndex and setting to 0,
    meaning that a pod (follower broker) cannot be recreated when the
    pod is killed. We might want to do this for autoscaling. See
    the examples/elasticity/downsize for details.
    
    Signed-off-by: vsoch <[email protected]>
    vsoch committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    f4f64d6 View commit details
    Browse the repository at this point in the history
  2. ensure that worker exits with 0 so pod cleans up

    If we do a flux drain <node> <reason> and then flux overlay disconnect <node>,
    the broker should exit cleanly (meaning exit status 0) and then the pod will
    also complete, and this means any autoscaler can clean it up too. No need for
    us to issue a pod kill or similar command.
    
    Signed-off-by: vsoch <[email protected]>
    vsoch committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    c129246 View commit details
    Browse the repository at this point in the history