autoscaler

package
v0.0.0-...-1194c4c Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoscalerController

type AutoscalerController struct {
	// contains filtered or unexported fields
}

AutoscalerController is responsible for synchronizing HPA objects stored in the system.

func NewAutoscalerController

NewAutoscalerController creates a new AutoscalerController.

func (*AutoscalerController) IsDeploymentControlHPA

func (ac *AutoscalerController) IsDeploymentControlHPA(d *appsv1.Deployment) bool

IsDeploymentControlHPA 判断 deployment 是否维护 HPA

func (*AutoscalerController) Run

func (ac *AutoscalerController) Run(workers int, stopCh <-chan struct{})

Run begins watching and syncing.

Jump to

Keyboard shortcuts

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