leasegarbagecollection

package
v0.35.11 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NodeLeaseDeletedCounter = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Namespace: "karpenter",
			Subsystem: metrics.NodeSubsystem,
			Name:      "leases_deleted",
			Help:      "Number of deleted leaked leases.",
		},
		[]string{},
	)
)

Functions

func NewController

func NewController(kubeClient client.Client) operatorcontroller.Controller

NewController is a constructor

Types

type Controller

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

Controller for the resource

func (*Controller) Builder

func (*Controller) Name

func (c *Controller) Name() string

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, l *v1.Lease) (reconcile.Result, error)

Reconcile the resource

Jump to

Keyboard shortcuts

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