autoscaler

package
v1.46.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupWithManager

func SetupWithManager(mgr ctrl.Manager, allocator *gpuallocator.GpuAllocator) error

Start after manager started

Types

type Autoscaler

type Autoscaler struct {
	client.Client
	// contains filtered or unexported fields
}

func NewAutoscaler

func NewAutoscaler(
	client client.Client,
	allocator *gpuallocator.GpuAllocator,
	metricsProvider metrics.Provider) (*Autoscaler, error)

func (*Autoscaler) NeedLeaderElection

func (s *Autoscaler) NeedLeaderElection() bool

func (*Autoscaler) Run

func (s *Autoscaler) Run(ctx context.Context)

func (*Autoscaler) Start

func (s *Autoscaler) Start(ctx context.Context) error

type WorkloadID

type WorkloadID struct {
	Namespace string
	Name      string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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