mirror of https://github.com/k3s-io/k3s
ab203e54ed
Automatic merge from submit-queue (batch tested with PRs 51192, 55010). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Refactoring of priority function(CaculateSpreadPriority) by using map/reduce pattern **What this PR does / why we need it**: Ref #24246. exactly ref https://github.com/kubernetes/kubernetes/issues/51455, the PR aim to unify priority functions(deprecated) by using map/reduce pattern. This is the first step, my todo list(WIP): - interpod-affnity priority funciton refactoring - the priority funcitons register pattern - deprecated priority function definition and all related logic. etc. **Which issue this PR fixes**: no issue, just unify the priority functions pattern. **Special notes for your reviewer**: none **Release note**: none |
||
---|---|---|
.. | ||
defaults | ||
BUILD | ||
plugins.go | ||
plugins_test.go |