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 a PoolAvailableRule to easily add backup pools #7140
Conversation
Still need to add tests and documentation, will work on that now. |
I've added documentation and did some basic testing using this to check correct behavior in case of up:
And this to see if it works properly when a pool is down:
|
Nice! I like it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Yes! It looks great! :) I think I can test it. |
Hello! I tested it in following configuration:
Then I manually disabled all three servers in default pool:
And all requests were redirected to backup one:
Then I returned one of the servers to active status and it worked well tool:
|
I closed my PR about "backup pool for pool". This PR implement it much better way. |
Short description
This adds the PoolAvailableRule. Can be used to apply different pools based on availability.
Checklist
I have: