ttl

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

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