Skip to content
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

feat: add pod-anti-affinity #21

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

waynerv
Copy link
Collaborator

@waynerv waynerv commented Sep 19, 2023

By default, optional affinity scheduling is enabled for pods: components of the same type are distributed as evenly as possible among all nodes.

If affinity configuration in CRD is enabled, it enforces compliance with affinity scheduling.

@waynerv waynerv marked this pull request as ready for review September 28, 2023 07:46
@waynerv
Copy link
Collaborator Author

waynerv commented Sep 28, 2023

resolve #9

@waynerv waynerv force-pushed the add-pod-anti-affinity branch 2 times, most recently from 1e2671d to d0912aa Compare October 8, 2023 08:16
@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

Merging #21 (b249f19) into main (d338bc6) will decrease coverage by 0.31%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
- Coverage   11.76%   11.45%   -0.31%     
==========================================
  Files          18       19       +1     
  Lines        1335     1370      +35     
==========================================
  Hits          157      157              
- Misses       1168     1203      +35     
  Partials       10       10              

@shilinlee
Copy link
Member

/lgtm

@shilinlee shilinlee merged commit c8059da into openGemini:main Oct 12, 2023
10 checks passed
@waynerv waynerv deleted the add-pod-anti-affinity branch November 9, 2023 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants