constants

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// QueueLabel is the label key in the workload that holds the queue name.
	QueueLabel = "kueue.x-k8s.io/queue-name"

	// QueueAnnotation is the annotation key in the workload that holds the queue name.
	//
	// DEPRECATED: Use QueueLabel as a label key.
	QueueAnnotation = QueueLabel

	// ParentWorkloadAnnotation is the annotation used to mark a kubernetes Job
	// as a child of a Workload. The value is the name of the workload,
	// in the same namespace. It is used when the parent workload corresponds to
	// a custom job CRD composed of one or more kubernetes Jobs. When set, Kueue
	// ignores this Job from admission, and takes control of its suspension
	// status based on the admission status of the parent workload.
	ParentWorkloadAnnotation = "kueue.x-k8s.io/parent-workload"

	// JobUIDLabel is the label key in the workload resource, that holds the UID of
	// the owner job.
	JobUIDLabel = "kueue.x-k8s.io/job-uid"

	// The workloadPriorityClass is specified through a label kueue.x-k8s.io/priority-class.
	// This label is always mutable because it might be useful for the preemption.
	WorkloadPriorityClassLabel = "kueue.x-k8s.io/priority-class"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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