autoscaler

package
v0.1.52 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ComponentName = "cluster-autoscaler"

	ImageStreamAutoscalerImage = "cluster-autoscaler"
)

Variables

This section is empty.

Functions

func AdaptDeployment

func AdaptDeployment(cpContext component.ControlPlaneContext, deployment *appsv1.Deployment) error

func NewComponent

func NewComponent() component.ControlPlaneComponent

func Predicate

func Predicate(cpContext component.ControlPlaneContext) (bool, error)

Types

type Autoscaler

type Autoscaler struct {
}

func (*Autoscaler) IsRequestServing

func (a *Autoscaler) IsRequestServing() bool

IsRequestServing implements controlplanecomponent.ComponentOptions.

func (*Autoscaler) MultiZoneSpread

func (a *Autoscaler) MultiZoneSpread() bool

MultiZoneSpread implements controlplanecomponent.ComponentOptions.

func (*Autoscaler) NeedsManagementKASAccess

func (a *Autoscaler) NeedsManagementKASAccess() bool

NeedsManagementKASAccess implements controlplanecomponent.ComponentOptions.

Jump to

Keyboard shortcuts

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