controller

package
v1.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMinContainerInstance = 1
	DefaultMaxContainerInstance = 2
)
View Source
const (
	DefaultValidMetricsTimeout = 60 //seconds
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Autoscaler

type Autoscaler struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewAutoscaler

func NewAutoscaler(conf *config.Config, store reflector.Reflector, resourcesMetrics metrics.MetricsController,
	externalMetrics metrics.MetricsController, scalerController scaler.ScalerProcess) *Autoscaler

func (*Autoscaler) Start

func (auto *Autoscaler) Start() error

start autoscaler controller asynchronous worker

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL