Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Autoscaler ¶
type Autoscaler struct { client.Client Interval time.Duration AverageCount int LeaderElection *leader.Election Deployments *deployments.Manager Queues *queue.Manager Endpoints *endpoints.Manager ConcurrencyPerReplica int HTTPClient *http.Client // 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 (*Autoscaler) SetupWithManager ¶
func (r *Autoscaler) SetupWithManager(mgr ctrl.Manager) error
func (*Autoscaler) Start ¶
func (a *Autoscaler) Start()
Click to show internal directories.
Click to hide internal directories.