mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue. 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>. Adding tests for ImageLocalityPriority **What this PR does / why we need it**: This PR adds tests for ImageLocalityPriority scheduling policy, as follow-ups of [#63842](https://github.com/kubernetes/kubernetes/issues/63842) and [#63345](https://github.com/kubernetes/kubernetes/issues/63345). It includes the unit test for ImageSizes function of NodeInfo in the scheduler cache. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: @resouer **Release note**: ```release-note NONE ``` |
||
---|---|---|
.. | ||
util | ||
BUILD | ||
balanced_resource_allocation.go | ||
balanced_resource_allocation_test.go | ||
image_locality.go | ||
image_locality_test.go | ||
interpod_affinity.go | ||
interpod_affinity_test.go | ||
least_requested.go | ||
least_requested_test.go | ||
metadata.go | ||
metadata_test.go | ||
most_requested.go | ||
most_requested_test.go | ||
node_affinity.go | ||
node_affinity_test.go | ||
node_label.go | ||
node_label_test.go | ||
node_prefer_avoid_pods.go | ||
node_prefer_avoid_pods_test.go | ||
reduce.go | ||
resource_allocation.go | ||
resource_limits.go | ||
resource_limits_test.go | ||
selector_spreading.go | ||
selector_spreading_test.go | ||
taint_toleration.go | ||
taint_toleration_test.go | ||
test_util.go |