Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Updater ¶
type Updater interface { // RunOnce represents single iteration in the main-loop of Updater. RunOnce(context.Context) // RunOnceUpdatingDeployment represents single iteration in the main-loop of Updater // which does pod eviction and deployment updates. RunOnceUpdatingDeployment(context.Context) }
Updater performs updates on pods if recommended by Multidimensional Pod Autoscaler
func NewUpdater ¶
func NewUpdater( kubeClient kube_client.Interface, mpaClient *mpa_clientset.Clientset, minReplicasForEvicition int, evictionRateLimit float64, evictionRateBurst int, evictionToleranceFraction float64, useAdmissionControllerStatus bool, statusNamespace string, recommendationProcessor mpa_api_util.RecommendationProcessor, evictionAdmission priority.PodEvictionAdmission, selectorFetcher target.MpaTargetSelectorFetcher, priorityProcessor priority.PriorityProcessor, namespace string, ) (Updater, error)
NewUpdater creates Updater with given configuration
Click to show internal directories.
Click to hide internal directories.