-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Description
Which component are you using?:
/area cluster-autoscaler
/area core-autoscaler
Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:
KEP-4671 adds support for gang scheduling using the new Workload resource in scheduling/v1alpha1. This means that cluster autoscaler shouldn't scale up if it cannot scale up in a way that allows all pods in a PodGroup to be scheduled.
Describe the solution you'd like.:
Cluster autoscaler needs to account for gang scheduling when calculating scale-ups, scale ups that leave some pods unschedulable might be 'useless' due to a workload resource prohibiting pods from scheduling.
this will require workloads to be considered when calculating node bin packing.
Describe any alternative solutions you've considered.:
Additional context.: