Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Orchestrator ¶
type Orchestrator interface { // Initialize initializes the orchestrator object with required fields. Initialize( autoscalingContext *context.AutoscalingContext, processors *ca_processors.AutoscalingProcessors, clusterStateRegistry *clusterstate.ClusterStateRegistry, estimatorBuilder estimator.EstimatorBuilder, taintConfig taints.TaintConfig, ) // ScaleUp tries to scale the cluster up. Returns appropriate status or error if // an unexpected error occurred. Assumes that all nodes in the cluster are ready // and in sync with instance groups. ScaleUp( unschedulablePods []*apiv1.Pod, nodes []*apiv1.Node, daemonSets []*appsv1.DaemonSet, nodeInfos map[string]*framework.NodeInfo, allOrNothing bool, ) (*status.ScaleUpStatus, errors.AutoscalerError) // ScaleUpToNodeGroupMinSize tries to scale up node groups that have less nodes // than the configured min size. The source of truth for the current node group // size is the TargetSize queried directly from cloud providers. Returns // appropriate status or error if an unexpected error occurred. ScaleUpToNodeGroupMinSize( nodes []*apiv1.Node, nodeInfos map[string]*framework.NodeInfo, ) (*status.ScaleUpStatus, errors.AutoscalerError) }
Orchestrator is a component that picks the node group to resize and triggers creation of needed instances.
Click to show internal directories.
Click to hide internal directories.