-
Notifications
You must be signed in to change notification settings - Fork 49
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 SchedulingConstraints to Etcd spec #329
Add SchedulingConstraints to Etcd spec #329
Conversation
Signed-off-by: Shreyas Rao <shreyas.sriganesh.rao@sap.com>
Signed-off-by: Shreyas Rao <shreyas.sriganesh.rao@sap.com>
Signed-off-by: Shreyas Rao <shreyas.sriganesh.rao@sap.com>
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.
Overall looks good. I posted just one doubt as review. Also, unit test is failing
@abdasgupta the test has passed now. It was from an unrelated error. |
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.
Thanks for the PR!
Looks good, just one small nit
Co-authored-by: Aaron Francis Fernandes <79958509+aaronfern@users.noreply.github.com>
@aaronfern thank you so much for the review. I've fixed it now. PTAL |
/lgtm |
Signed-off-by: Shreyas Rao shreyas.sriganesh.rao@sap.com
How to categorize this PR?
/area high-availability
/kind enhancement
What this PR does / why we need it:
This PR adds support for adding scheduling constraints to the etcd pod(s), via the
SchedulingConstraints
field in the Etcd template. The currently supported constraints areAffinity
andTopologySpreadConstraints
. This is required by gardener/gardener#5741 .Which issue(s) this PR fixes:
Fixes partially #107
Special notes for your reviewer:
cc @abdasgupta @unmarshall @timuthy @ashwani2k
Release note: