Documentation ¶
Overview ¶
Package autoscaler provides methods for scaling a resource - by triggering metric gathering, feeding these metrics to an evaluation and using this evaluation to scale the resource.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scaler ¶
type Scaler struct { Scaler scaling.Scaler Client resourceclient.Client Config *config.Config GetMetricer metricget.GetMetricer GetEvaluationer evaluatecalc.GetEvaluationer }
Scaler handles scaling up/down the resource being managed; triggering metric gathering and feeding an evaluator these metrics, before taking the results and using them to interact with Kubernetes to scale up/down
Click to show internal directories.
Click to hide internal directories.