downscaler

package
v0.0.0-...-5d20aae Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Downscaler

type Downscaler struct {
	client.Client
}

Downscaler watches deployments and scales them down if unused for some time

func (Downscaler) NeedLeaderElection

func (ds Downscaler) NeedLeaderElection() bool

Only run the downscaler on the lead manager

func (Downscaler) Start

func (ds Downscaler) Start(ctx context.Context) error

Starts the ticker to watch deployments

Jump to

Keyboard shortcuts

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