-
Notifications
You must be signed in to change notification settings - Fork 213
Add topologySpreadConstraints for workers #358
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 topologySpreadConstraints for workers #358
Conversation
|
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
|
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
6819d46 to
a0c1a65
Compare
a0c1a65 to
ad9eea3
Compare
|
Hey @tadeha , thanks for adding this! |
Hi @akkbng, actually, having multiple coordinators didn't make sense to us, so we stick to workers for now. You can add them with the same template. |
This PR adds support for
topologySpreadConstraintsto the worker deployment. This allows users to improve cluster resilience and resource balancing by controlling how worker pods are spread across nodes and availability zones.The feature is enabled by setting the
worker.topologySpreadConstraintsvalue invalues.yaml. Tests have been added to verify the implementation.Example
values.yamlconfiguration: