kubernetesk8s.io/kubernetes/pkg/controller/ttl Index | Files

package ttl

import "k8s.io/kubernetes/pkg/controller/ttl"

Index

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(ctx context.Context, 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.

Source Files

ttl_controller.go

Version
v1.29.10
Published
Oct 22, 2024
Platform
js/wasm
Imports
21 packages
Last checked
1 minute ago

Tools for package owners.