Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoscalingProcessors ¶
type AutoscalingProcessors struct { // PodListProcessor is used to process list of unschedulable pods before autoscaling. PodListProcessor pods.PodListProcessor // NodeGroupListProcessor is used to process list of NodeGroups that can be used in scale-up. NodeGroupListProcessor nodegroups.NodeGroupListProcessor // ScaleUpStatusProcessor is used to process the state of the cluster after a scale-up. ScaleUpStatusProcessor status.ScaleUpStatusProcessor // NodeGroupManager is responsible for creating/deleting node groups. NodeGroupManager nodegroups.NodeGroupManager }
AutoscalingProcessors are a set of customizable processors used for encapsulating various heuristics used in different parts of Cluster Autoscaler code.
func DefaultProcessors ¶
func DefaultProcessors() *AutoscalingProcessors
DefaultProcessors returns default set of processors.
func TestProcessors ¶
func TestProcessors() *AutoscalingProcessors
TestProcessors returns a set of simple processors for use in tests.
Click to show internal directories.
Click to hide internal directories.