mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-02 16:46:59 +00:00
Automatic merge from submit-queue (batch tested with PRs 42200, 39535, 41708, 41487, 41335) Add support for statefulset spreading to the scheduler **What this PR does / why we need it**: The scheduler SelectorSpread priority funtion didn't have the code to spread pods of StatefulSets. This PR adds StatefulSets to the list of controllers that SelectorSpread supports. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #41513 **Special notes for your reviewer**: **Release note**: ```release-note Add the support to the scheduler for spreading pods of StatefulSets. ```