Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Autoscaler ¶
type Autoscaler struct {
// contains filtered or unexported fields
}
Autoscaler is responsible for making continuous adjustments to the scale of the backend. It is not responsible for scale-from-zero. Each deployment has its own autoscaler.
func New ¶
func New( interval time.Duration, averageCount int, leaderElection *leader.Election, scaler *modelscaler.ModelScaler, resolver *modelresolver.Manager, targetRequests float64, ) *Autoscaler
func (*Autoscaler) Start ¶
func (a *Autoscaler) Start()
Click to show internal directories.
Click to hide internal directories.