-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[stable/mysql] add basic affinity support (#12054) #21858
Conversation
Signed-off-by: Niels Nuyttens <niels.nuyttens@gmail.com>
Hi @nielsn. Thanks for your PR. I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi, Thanks for the contribution. Could you explain the use-case for anti-affinity in this chart? |
/ok-to-test |
Hey @olemarkus , my issue isn't really related to anti-affinity. We're trying to get our MySQL pod scheduled on certain nodes using the standard combination of taints + tolerations (reserve our node for a subset of pods) and affinities (make sure these pods use the reserved node). Our affinity is specified using annotations added by GKE (node pool information). Since the current MySQL chart didn't seem to support affinity, I had to add a specific label to all nodes in the desired node pool in order to use the Hence my very humble pull request. Does that clarify our case? |
Learnt something new today. Thanks :) /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nielsn, olemarkus The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Niels Nuyttens <niels.nuyttens@gmail.com>
Signed-off-by: Niels Nuyttens <niels.nuyttens@gmail.com>
Signed-off-by: Niels Nuyttens <niels.nuyttens@gmail.com> Signed-off-by: Adrien Loiseau <adrien.loiseau@logic-immo.com>
Signed-off-by: Niels Nuyttens <niels.nuyttens@gmail.com> Signed-off-by: Miguel Mingorance <miguel.mingorance@deliveryhero.com>
Signed-off-by: Niels Nuyttens niels.nuyttens@gmail.com
@olemarkus @viglesiasce
What this PR does / why we need it:
Add basic support for
pod affinities
. Currently onlynodeSelector
support is provided.Which issue this PR fixes
*fixes #12054
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[stable/mychartname]
)