modelwarmup

package
v0.8.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 31 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 (

	// WarmupLabelKey labels owned Jobs with the UID of their ModelWarmup.
	WarmupLabelKey = "model.aibrix.ai/warmup"
	// WarmupNameAnnotationKey records the human-readable ModelWarmup name.
	WarmupNameAnnotationKey = "model.aibrix.ai/warmup-name"
	// RevisionLabelKey labels owned Jobs with the immutable warmup workload revision.
	RevisionLabelKey = "model.aibrix.ai/revision"
	// TargetNodeAnnotationKey records the exact node targeted by an owned Job.
	TargetNodeAnnotationKey = "model.aibrix.ai/target-node"

	// WarmupEnabledLabelKey opts a Node into ModelWarmup scheduling when its
	// value is WarmupEnabledLabelValue.
	WarmupEnabledLabelKey   = "model.aibrix.ai/warmup-enabled"
	WarmupEnabledLabelValue = "true"
	// ResourcePoolLabelKey authorizes a Node for ModelWarmups in Namespaces
	// carrying the same non-empty label value.
	ResourcePoolLabelKey = "resource-pool.aibrix.ai/name"
)

Variables

This section is empty.

Functions

func Add

Types

type ModelWarmupReconciler

type ModelWarmupReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*ModelWarmupReconciler) Reconcile

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

Jump to

Keyboard shortcuts

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