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

feature: Provide playbooks with better control over restarts #214

Open
glennpratt opened this issue May 8, 2024 · 0 comments
Open

feature: Provide playbooks with better control over restarts #214

glennpratt opened this issue May 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@glennpratt
Copy link
Contributor

Summary

Currently, this uses hacks to perform rolling restarts within the role. There is no ability to configure the loop + include hack, it spams the logs and wastes resources (at least according to other reports). Most importantly, it's just painfully slow on large clusters with multiple pools.

If this role was also shipped as a collection, we could add playbooks that could make use of the serial, throttle and hosts ordering features of plays to have fine grained control over restarts.

Ideally, invoking the role through these playbooks could expose those fields through vars and skip any role loop based restarts.

This can be created completely external to this repo, but changes to this role would be required to disable loops that would then be implemented in plays.

I plan to work on a proof of concept soon; just opening this to start the discussion early.

Issue Type

Feature Idea

@glennpratt glennpratt added the enhancement New feature or request label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant