Skip to content

[Sidekiq] Support for podAntiAffinity with match labels of deployment name

Dmytro Makovey requested to merge 2857-support-for-podantiaffinity into master

What does this MR do?

Implement podAntiAffinity in such way that allows to spread out Sidekiq pods across the cluster.

Based on @WarheadsSE 's suggestion - adding queue-pod-name to the list of matchLabels in podAntiAffinity section should provide some immediate relief as it should prevent 2 pods with the same queue spread out to different nodes.

Related issues

Closes #2857 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Merge Request Title and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for omnibus-gitlab opened
Edited by Mitchell Nielsen

Merge request reports

Loading