controller

package
v1.29.0-alpha.60 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultMinContainerInstance xxx
	DefaultMinContainerInstance = 1
	// DefaultMaxContainerInstance xxx
	DefaultMaxContainerInstance = 2
)
View Source
const (
	// DefaultValidMetricsTimeout xxx
	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
}

Autoscaler xxx

func NewAutoscaler

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

NewAutoscaler xxx

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