ttl

package
v1.23.4 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 21 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller added in v1.20.0

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

Controller sets ttl annotations on nodes, based on cluster size.

func NewTTLController

func NewTTLController(nodeInformer informers.NodeInformer, kubeClient clientset.Interface) *Controller

NewTTLController creates a new TTLController

func (*Controller) Run added in v1.20.0

func (ttlc *Controller) Run(ctx context.Context, workers int)

Run begins watching and syncing.

Jump to

Keyboard shortcuts

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