autoscaler/cluster-autoscaler/estimator
Maciek Pytel 5342f189f1 Check if pods fit on the new node in binpacking
Previously we've just assumed pod will always fit on a newly added node
during binpacking, because we've already checked that a pod fits on an
empty template node earlier in scale-up logic.
This assumption is incorrect, as it doesn't take into account potential
impact of other scheduling we've done in binpacking. For pods using
zonal Filters (such as PodTopologySpreading with zonal topology key) the
pod may no longer be able to schedule even on an empty node as a result
of earlier decisions we've made in binpacking.
2022-06-20 17:02:51 +02:00
..
binpacking_estimator.go Check if pods fit on the new node in binpacking 2022-06-20 17:02:51 +02:00
binpacking_estimator_test.go Check if pods fit on the new node in binpacking 2022-06-20 17:02:51 +02:00
estimator.go Limit binpacking based on #new_nodes or time 2022-06-20 17:02:51 +02:00
threshold_based_limiter.go Limit binpacking based on #new_nodes or time 2022-06-20 17:02:51 +02:00
threshold_based_limiter_test.go Limit binpacking based on #new_nodes or time 2022-06-20 17:02:51 +02:00