karpenter

package
v0.1.87 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 49 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// NodeClaimDeletionTimeout is the timeout for the deletion of a NodeClaim during cluster deletion.
	// If the timeout is reached, the NodeClaim will be forcefully deleted by setting the termination timestamp annotation.
	NodeClaimDeletionTimeout = 3 * time.Minute

	// KarpenterDeletionRequeueInterval is the interval at which the controller will requeue deletion of Karpenter resources during a hosted cluster deletion.
	KarpenterDeletionRequeueInterval = 15 * time.Second
)

Variables

This section is empty.

Functions

func FindTargetNodeClaim added in v0.1.56

func FindTargetNodeClaim(ctx context.Context, client client.Client, nodeName string) (*karpenterv1.NodeClaim, error)

Types

type MachineApproverController

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

func (*MachineApproverController) Reconcile

func (*MachineApproverController) SetupWithManager

func (r *MachineApproverController) SetupWithManager(mgr ctrl.Manager) error

type Reconciler

type Reconciler struct {
	ManagementClient          client.Client
	GuestClient               client.Client
	HypershiftClient          hypershiftclient.Interface
	Namespace                 string
	ControlPlaneOperatorImage string
	KarpenterProviderAWSImage string
	KarpenterComponent        controlplanecomponent.ControlPlaneComponent
	ControlPlaneContext       controlplanecomponent.ControlPlaneContext
	ReleaseProvider           releaseinfo.Provider
	upsert.CreateOrUpdateProvider
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, managementCluster cluster.Cluster) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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