Kueue v1alpha1 API

Generated API reference documentation for kueue.x-k8s.io/v1alpha1.

Resource Types

CapacityBufferConfig

Appears in:

CapacityBufferConfig is the Schema for the capacitybufferconfig API

FieldDescription
apiVersion
string
kueue.x-k8s.io/v1alpha1
kind
string
CapacityBufferConfig
spec
CapacityBufferConfigSpec

spec is the specification of the CapacityBufferConfig.

CapacityProvider

Appears in:

CapacityProvider reports capacity for ResourceFlavors. DQO uses this capacity only when CapacitySynchronized=True.

FieldDescription
apiVersion
string
kueue.x-k8s.io/v1alpha1
kind
string
CapacityProvider
spec
CapacityProviderSpec

spec defines the desired state of the CapacityProvider.

status
CapacityProviderStatus

status defines the capacity observed and published by the provider.

DynamicQuotaOrchestrator

Appears in:

DynamicQuotaOrchestrator is the Schema for the dynamicquotaorchestrators API

FieldDescription
apiVersion
string
kueue.x-k8s.io/v1alpha1
kind
string
DynamicQuotaOrchestrator
spec
DynamicQuotaOrchestratorSpec

spec defines the desired state of the DynamicQuotaOrchestrator.

status
DynamicQuotaOrchestratorStatus

status defines the observed state of the DynamicQuotaOrchestrator.

MultiKueueCapacityProviderConfig

Appears in:

MultiKueueCapacityProviderConfig is the Schema for the multikueuecapacityproviderconfigs API. Its name must be a valid CapacityProvider spec.parameters.name (at most 63 characters, no dots), so that a CapacityProvider can refer to it.

FieldDescription
apiVersion
string
kueue.x-k8s.io/v1alpha1
kind
string
MultiKueueCapacityProviderConfig
spec,omitzero [Required]
MultiKueueCapacityProviderConfigSpec

spec defines the desired state of the MultiKueueCapacityProviderConfig.

PreemptionConfig

Appears in:

PreemptionConfig is the Schema for the preemptionconfigs API

FieldDescription
apiVersion
string
kueue.x-k8s.io/v1alpha1
kind
string
PreemptionConfig
spec
PreemptionConfigSpec

spec defines the preemption rules of the PreemptionConfig.

PreemptionLimit

Appears in:

PreemptionLimit is the Schema for the preemptionlimits API

FieldDescription
apiVersion
string
kueue.x-k8s.io/v1alpha1
kind
string
PreemptionLimit
spec
PreemptionLimitSpec

spec defines the desired state of the PreemptionLimit.

status
PreemptionLimitStatus

status defines the observed state of the PreemptionLimit.

CapacityBufferConfigSpec

Appears in:

CapacityBufferConfigSpec defines the desired state of CapacityBufferConfig

FieldDescription
managedResources
[]k8s.io/api/core/v1.ResourceName

managedResources contains the list of resources managed by this check.

If empty, all resources are considered managed.

If not empty, CapacityBuffers are created only for the podsets that are requesting at least one of them, one CapacityBuffer per podset.

If none of the workload's podsets is requesting at least a managed resource, the workload is considered ready.

timeoutSeconds
int32

timeoutSeconds is how long Kueue waits for the CapacityBuffers to reach FitsExistingCapacity before setting the AdmissionCheck to Retry, which evicts the workload and releases its quota. The timeout is measured from the quota reservation, so it also applies when the CapacityBuffers cannot be created. With Topology Aware Scheduling, it also limits the wait for the topology assignment after the check is Ready. That wait is measured from the time the check became Ready.

If unset, Kueue waits indefinitely.

retryStrategy
CapacityBufferRetryStrategy

retryStrategy defines how long Kueue waits before it requeues a workload that was evicted after timeoutSeconds. If null, backoffBaseSeconds is 60 and backoffMaxSeconds is 1800.

CapacityBufferRetryStrategy

Appears in:

CapacityBufferRetryStrategy defines the backoff for requeuing a workload after its CapacityBuffers did not fit existing capacity within timeoutSeconds.

FieldDescription
backoffBaseSeconds
int32

backoffBaseSeconds is the base of the exponential backoff for requeuing a workload after a timeout. The delays are about b*2^(n-1), where n is the number of retries.

It must be at least 1, since Kueue retries without a limit, and at most backoffMaxSeconds. Defaults to 60.

backoffMaxSeconds
int32

backoffMaxSeconds is the maximum backoff.

It must be at least 1. Defaults to 1800.

CapacityDiscovery

Appears in:

FieldDescription
providers [Required]
[]CapacityDiscoveryProviderContribution

providers lists CapacityProvider objects consumed by this DQO.

CapacityDiscoveryProviderContribution

Appears in:

FieldDescription
name [Required]
CapacityProviderName

name identifies a CapacityProvider.

effectiveCapacityMultiplier
k8s.io/apimachinery/pkg/api/resource.Quantity

effectiveCapacityMultiplier specifies the multiplier applied to the discovered capacity from this provider. It defaults to 1.

CapacityDistribution

Appears in:

FieldDescription
subtreeRootQuotaRef,omitzero [Required]
CapacityDistributionSubtreeRootRef

subtreeRootQuotaRef identifies the root of the quota subtree.

effectiveQuotasTTLSeconds
int32

effectiveQuotasTTLSeconds is how long, in seconds, the effective quota written by this DQO stays valid without renewal. When set, DQO sets status.effectiveQuotas.expirationTime to the time it writes the effective quota plus this value, and renews it while distribution keeps succeeding. When not set, DQO writes the effective quota without expirationTime, so it does not expire. A change applies the next time DQO writes the effective quota, so during an outage an existing expirationTime stays as it is.

Must be between 60 (1 minute) and 604800 (7 days).

CapacityDistributionSubtreeRootRef

Appears in:

FieldDescription
kind [Required]
SubtreeRootRefKind

kind indicates the kind of the quota node, i.e. ClusterQueue or Cohort.

name [Required]
string

name indicates the name of the quota node, i.e. ClusterQueue or Cohort.

CapacityProviderControllerName

(Alias of string)

Appears in:

CapacityProviderName

(Alias of string)

Appears in:

CapacityProviderNormalizedCapacity

Appears in:

FieldDescription
flavors [Required]
[]CapacityProviderNormalizedCapacityFlavor

flavors reports capacity for each flavor and resource. The list must contain at least one flavor. It should contain the same flavors as spec.orchestratedFlavors. An empty resources map means zero capacity for all resources of the flavor.

CapacityProviderNormalizedCapacityFlavor

Appears in:

FieldDescription
name [Required]
ResourceFlavorReference

name identifies the ResourceFlavor whose capacity is reported.

resources [Required]
k8s.io/api/core/v1.ResourceList

resources contains total capacity by resource name. The provider orchestrates all resources of the flavor: a resource that is not listed, including when the map is empty, has zero capacity.

CapacityProviderOrchestratedFlavor

Appears in:

CapacityProviderOrchestratedFlavor identifies a flavor managed by a provider. The container allows the mapping to be extended in a future API version.

FieldDescription
name [Required]
ResourceFlavorReference

name identifies the ResourceFlavor managed by this provider.

CapacityProviderParametersReference

Appears in:

FieldDescription
apiGroup [Required]
string

apiGroup is the group for the resource being referenced.

kind [Required]
string

kind is the type of the resource being referenced.

name [Required]
string

name is the name of the resource being referenced.

CapacityProviderSpec

Appears in:

FieldDescription
orchestratedFlavors [Required]
[]CapacityProviderOrchestratedFlavor

orchestratedFlavors identifies the ResourceFlavors for which this provider may publish capacity. DQO ignores entries in status.capacity.flavors whose names are not listed here. The provider orchestrates all resources of the listed flavors: capacity that is not reported for a listed flavor is zero.

controllerName [Required]
CapacityProviderControllerName

controllerName identifies the controller publishing capacity. This field is immutable.

parameters
CapacityProviderParametersReference

parameters optionally references implementation-specific configuration. DQO does not read or validate the referenced object.

CapacityProviderStatus

Appears in:

FieldDescription
conditions
[]k8s.io/apimachinery/pkg/apis/meta/v1.Condition

conditions represents the current state of this provider.

capacity
CapacityProviderNormalizedCapacity

capacity is the normalized capacity published by the provider.

DynamicQuotaOrchestratorSpec

Appears in:

FieldDescription
capacityDiscovery,omitzero [Required]
CapacityDiscovery

capacityDiscovery specifies capacity aggregation.

capacityDistribution
CapacityDistribution

capacityDistribution specifies how aggregated capacity is distributed. When omitted, the DQO is discovery-only: it reports aggregated capacity but does not write effectiveQuotas status.

DynamicQuotaOrchestratorStatus

Appears in:

FieldDescription
conditions
[]k8s.io/apimachinery/pkg/apis/meta/v1.Condition

conditions represents the current state of the DQO.

effectiveCapacity
EffectiveCapacity

effectiveCapacity is the combined capacity from the referenced providers. Each provider's capacity is multiplied by its effectiveCapacityMultiplier. DQO clears this field if any referenced provider is missing or does not report CapacitySynchronized=True for its current generation.

EffectiveCapacity

Appears in:

FieldDescription
flavors [Required]
[]EffectiveCapacityFlavor

flavors contains the total capacity for each flavor and resource. It includes all flavors listed in spec.orchestratedFlavors of the referenced providers, up to 128 distinct flavors. If the referenced providers together orchestrate more distinct flavors, the DQO sets EffectiveCapacityComputed=False with reason AggregationFailed and clears status.effectiveCapacity. An empty resources map means zero capacity for all resources of the flavor.

EffectiveCapacityFlavor

Appears in:

FieldDescription
name [Required]
ResourceFlavorReference

name identifies the ResourceFlavor whose capacity is reported.

resources [Required]
k8s.io/api/core/v1.ResourceList

resources contains total capacity by resource name, up to 64 distinct resources. If the referenced providers together report more distinct resources for the flavor, the DQO sets EffectiveCapacityComputed=False with reason AggregationFailed and clears status.effectiveCapacity. A resource that is not listed, including when the map is empty, has zero capacity for the flavor.

MultiKueueCapacityProviderConfigSpec

Appears in:

FieldDescription
managerSubtreeRootRef,omitzero [Required]
CapacityDistributionSubtreeRootRef

managerSubtreeRootRef identifies the manager ClusterQueue whose related worker ClusterQueues the provider sums. Only the ClusterQueue kind is supported.

NumericComparison

(Alias of string)

Appears in:

NumericComparison defines how a specified numeric property (e.g., priority or custom numeric label value) of the candidate compares to the same property of the preemptor. Possible values are:

  • "LessThan": permits preemption if candidate field value < preemptor field value
  • "GreaterThan": permits preemption if candidate field value > preemptor field value
  • "LessThanOrEqual": permits preemption if candidate field value <= preemptor field value
  • "GreaterThanOrEqual": permits preemption if candidate field value >= preemptor field value

PreemptionConfigActivationPolicy

Appears in:

PreemptionConfigActivationPolicy defines when a preemption rule contributes candidates.

FieldDescription
trigger [Required]
PreemptionConfigActivationTrigger

trigger specifies the prerequisite for contributing candidates.

Possible values are:

  • Always: contributes matching candidates unconditionally.
  • InsufficientQuota: contributes matching candidates only if preempting baseline candidates does not yield sufficient quota to admit the preemptor workload.
  • QuotaFeasibleAndInsufficientTopology: contributes matching candidates only if quota is feasible for the entire preemptor under at least one eligible flavor assignment (after preempting baseline candidates and any candidates from InsufficientQuota rules), but the workload cannot be admitted because no eligible flavor assignment satisfies its topology requirements.

Baseline candidates are the deduplicated union of:

  • candidates selected by the preemptor's ClusterQueue.spec.preemption policy;
  • candidates selected by applicable rules in the referenced PreemptionConfig whose activationPolicy.trigger is Always.

PreemptionConfigActivationTrigger

(Alias of string)

Appears in:

PreemptionConfigActivationTrigger specifies when preemption rule should be treated as active.

PreemptionConfigDurationConstraint

Appears in:

PreemptionConfigDurationConstraint describes the rules for filtering preemption candidates based on an elapsed duration, such as cumulative execution duration or duration since creation. For example, this can be used to protect newly admitted workloads from immediate preemption by setting minSeconds on execution, or to protect older workloads near completion by setting maxSeconds on sinceCreation. Multiple fields are joined using logical AND (all specified bounds and comparisons must be satisfied). At least one property must be specified.

FieldDescription
minSeconds
int32

minSeconds specifies the minimum elapsed duration, in seconds (inclusive), a candidate workload must have accumulated for the time metric to be considered for preemption. If not specified, no lower bound is enforced.

maxSeconds
int32

maxSeconds specifies the maximum elapsed duration, in seconds (inclusive),a candidate workload can have accumulated for the time metric to be considered for preemption. If not specified, no upper bound is enforced.

comparison
NumericComparison

comparison defines how the candidate's duration compares to the preemptor's duration for the same constraint. If not specified, no relative comparison against the preemptor is enforced.

PreemptionConfigNumericLabelConstraint

Appears in:

PreemptionConfigNumericLabelConstraint describes the rule for filtering a custom numerical label. For example, this can be used to filter candidates based on the label describing the required topology domain size, such as the "number of TPUs". If a user has a label "number-of-tpus" that describes the number of TPUs required in a single cube, it can be used to create a rule that selects only workloads requiring smaller cube slices by defining comparison: "LessThan". Such a configuration would allow preemption of "smaller" workloads, to achieve better cluster utilization and decrease fragmentation. Please note that those labels are not copied out of the box from job-like objects. You should remember to append the designated labels to the list of labels copied to the workload via the Kueue main configuration if you wish to use a custom label. As Kubernetes label values cannot start with '-', integer labels are always non-negative. A negative fallbackValue can thus ensure workloads without the label compare smaller than any labeled workload if this is desired. If neither comparison, minValue, nor maxValue are specified, the constraint checks only that candidate workloads possess the designated label key with a valid integer.

FieldDescription
key [Required]
string

key is the label key that stores the integer value in the workload that will be used for candidate selection.

fallbackValue
int32

fallbackValue is used when a workload does not have the label key or the value under the key cannot be parsed as an integer. If not specified, workloads without the label or with a label value not parsable as int are treated as incomparable, and therefore excluded from preemption candidates.

comparison
NumericComparison

comparison defines how the candidate's label value compares to the preemptor's.

minValue
int32

minValue specifies the lowest label value a candidate workload can have to be considered for preemption. If not specified, no lower bound is enforced.

maxValue
int32

maxValue specifies the highest label value a candidate workload can have to be considered for preemption. If not specified, no upper bound is enforced.

PreemptionConfigPreemptionCandidateSelector

Appears in:

PreemptionConfigPreemptionCandidateSelector defines the selection criteria for workloads that are candidates for preemption. All specified criteria within a candidate selector are combined using logical AND (a candidate workload must satisfy all set fields).

FieldDescription
scope [Required]
PreemptionConfigPreemptionQueueScope

scope specifies the queue or cohort relation boundary of candidates to the preemptor workload.

clusterQueueSelector
k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector

clusterQueueSelector defines label selector constraints on candidate ClusterQueues. Accepts all if not set.

labelSelector
k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector

labelSelector defines label selector constraints on candidate Workloads. Accepts all if not set.

numericLabels
[]PreemptionConfigNumericLabelConstraint

numericLabels defines rules for filtering candidates using custom numeric labels on the Workload resource. Multiple numeric labels are joined using AND-rule (all have to be satisfied). Accepts all if not set.

priority
PreemptionConfigPriorityConstraint

priority defines the requirements for the priority of candidates. Workloads not matching those requirements will not be considered as preemption candidates. If nil, no priority requirements are enforced.

priorityClassSelector
PreemptionConfigPriorityClassSelector

priorityClassSelector filters candidate workloads by their priority class (matched against spec.priorityClassRef). Accepts all if not set.

timeConstraints
PreemptionConfigTimeConstraints

timeConstraints defines time-based constraints (such as cumulative execution duration or elapsed duration since creation) for preemption candidates. Workloads not matching these constraints will not be considered as preemption candidates. If not specified, no time constraints are enforced.

PreemptionConfigPreemptionQueueScope

(Alias of string)

Appears in:

PreemptionConfigPreemptionQueueScope specifies the relational boundary between the preempting workload's queue and candidate workloads' queues. Possible values are:

  • "WithinLocalQueue": restricts preemption candidates to workloads submitted to the exact same LocalQueue (matching name and namespace).
  • "WithinClusterQueue": restricts preemption candidates to workloads submitted to the same ClusterQueue as the preemptor.
  • "WithinParentCohort": restricts preemption candidates to workloads in ClusterQueues that share the exact same immediate direct Cohort, as well as workloads in the preemptor's own ClusterQueue (even if standalone).
  • "WithinCohortTree": restricts preemption candidates to workloads in ClusterQueues that belong to the same Cohort Tree (sharing the same root ancestor Cohort), as well as workloads in the preemptor's own ClusterQueue (even if standalone).
  • "AnyClusterQueue": places no relationship restrictions on preemption candidates.

PreemptionConfigPreemptionRule

Appears in:

PreemptionConfigPreemptionRule defines a single rule under which preemptions can be triggered and the candidate workloads eligible for preemption.

FieldDescription
name [Required]
string

name is the identifier of the preemption rule.

preemptorSelector
k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector

preemptorSelector is a label selector indicating which workloads can trigger preemptions using this rule. Accepts all workloads if not set.

preemptorPriorityClassSelector
PreemptionConfigPriorityClassSelector

preemptorPriorityClassSelector filters which preempting workloads can activate this rule based on their priority class (matched against spec.priorityClassRef). When set alongside preemptorSelector, a preempting workload must satisfy both selectors (logical AND). If omitted or empty, workloads of any priority class can trigger this rule.

activationPolicy,omitzero [Required]
PreemptionConfigActivationPolicy

activationPolicy determines when this rule contributes matching candidates to preemption evaluation.

candidateSelectors
[]PreemptionConfigPreemptionCandidateSelector

candidateSelectors specifies the selection rules for workloads that are candidates for preemption. Candidates resulting from multiple selectors are summed into one set. No selectors result in an empty candidate set, thereby disallowing any preemptions with this rule.

PreemptionConfigPriorityClassSelector

Appears in:

PreemptionConfigPriorityClassSelector filters workloads by their priority class (matched against the Workload's spec.priorityClassRef, which is populated by Kueue for both WorkloadPriorityClass and Pod PriorityClass). When both sourceRef and nameExpressions are specified, a workload must satisfy both (logical AND). When WorkloadPriorityClassDefaulting is enabled and a "default" WorkloadPriorityClass exists, or when a globalDefault Pod PriorityClass is configured, its name (e.g., "default") can be used in nameExpressions to match or exclude workloads that do not explicitly specify a priority class.

FieldDescription
sourceRef
PriorityClassSourceRef

sourceRef filters workloads by the API group and kind of their priority class (matched against Workload.spec.priorityClassRef.group and Workload.spec.priorityClassRef.kind; workloads without a priorityClassRef do not match when sourceRef is set). If omitted, priority classes of any supported source (WorkloadPriorityClass or Pod PriorityClass) match.

nameExpressions
[]PriorityClassSelectorRequirement

nameExpressions is a list of priority class name selector requirements (matched against Workload.spec.priorityClassRef.name). The requirements are ANDed. If omitted, no priority class name restrictions are enforced. When set, nameExpressions must contain at least one requirement.

PreemptionConfigPriorityConstraint

Appears in:

PreemptionConfigPriorityConstraint defines the requirements for the priority of preemption candidates.

FieldDescription
mode [Required]
PreemptionConfigPriorityMode

mode specifies whether priority comparison uses base or boosted (effective) priority.

comparison [Required]
NumericComparison

comparison defines how the candidate's priority compares to the preemptor's priority. For example, "LessThan" means that only workloads with lower priority will be allowed as preemption candidates.

PreemptionConfigPriorityMode

(Alias of string)

Appears in:

PreemptionConfigPriorityMode defines whether base or boosted (effective) priority is used when comparing candidates against the preemptor. Possible values are:

  • "Base": uses the raw priority value as assigned in the Workload resource (spec.priority) for both the candidate and preemptor, ignoring any priority boost.
  • "Boosted": uses the effective priority value, adjusted by the priority boost mechanism (if enabled), for both the candidate and preemptor.

PreemptionConfigSpec

Appears in:

PreemptionConfigSpec defines the desired state of PreemptionConfig

FieldDescription
rules
[]PreemptionConfigPreemptionRule

rules specifies preemption candidate selection rules.

PreemptionConfigTimeConstraints

Appears in:

PreemptionConfigTimeConstraints groups time-based constraints for filtering preemption candidates. Multiple constraints are joined using logical AND (all specified constraints must be satisfied). At least one constraint must be specified.

FieldDescription
execution
PreemptionConfigDurationConstraint

execution defines the requirements for candidates based on cumulative execution duration. A workload's cumulative execution duration is the total duration spent in the Admitted state across admission cycles (the sum of accumulated past execution duration and the elapsed duration of the current admission, if currently admitted). Workloads not matching these requirements will not be considered as preemption candidates. If not specified, no execution requirements are enforced.

sinceCreation
PreemptionConfigDurationConstraint

sinceCreation defines the requirements for candidates based on workload age since creation. A workload's time since creation is the elapsed duration measured from metadata.creationTimestamp until the time of preemption evaluation. Workloads not matching these requirements will not be considered as preemption candidates. If not specified, no since creation requirements are enforced.

PreemptionLimitAggregation

(Alias of string)

Appears in:

PreemptionLimitAggregation specifies the grouping level for counting preemption events. Possible values are:

  • "Global": restricts the total number of preemption events across the entire cluster within the sliding time window.
  • "ByPreemptorClusterQueue": restricts the number of preemption events triggered by workloads originating from a specific ClusterQueue within the sliding time window.
  • "ByPreempteeClusterQueue": restricts the number of preemption events targeting workloads belonging to a specific ClusterQueue within the sliding time window.
  • "ByPreempteeWorkload": restricts how many times an individual workload can be preempted within the sliding time window.

PreemptionLimitSpec

Appears in:

PreemptionLimitSpec defines the desired state of PreemptionLimit

FieldDescription
aggregation [Required]
PreemptionLimitAggregation

aggregation specifies the grouping level for counting preemption events under this limit.

configSelector [Required]
k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector

configSelector selects PreemptionConfigs to which this limit applies. An empty selector ({}) matches all PreemptionConfigs.

preemptorClusterQueueSelector
k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector

preemptorClusterQueueSelector selects ClusterQueues of preempting workloads to which this limit applies. If not set, this limit applies to preempting workloads from all ClusterQueues.

preempteeClusterQueueSelector
k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector

preempteeClusterQueueSelector selects ClusterQueues of preemptee workloads to which this limit applies. If not set, this limit applies to preemptee workloads from all ClusterQueues.

limit [Required]
int32

limit defines how many preemption events can occur within the given time window. An event is defined as a confirmed (preemptor, preemptee) eviction pair. Setting limit to 0 blocks all matching preemptions under this limit.

windowSeconds [Required]
int32

windowSeconds specifies the sliding time window duration, in seconds. Must be between 1 (to prevent sub-second thrashing) and 604800 (7 days), inclusive.

PreemptionLimitStatus

Appears in:

PreemptionLimitStatus defines the observed state of PreemptionLimit

FieldDescription
window
PreemptionLimitWindowStatus

window is the periodically refreshed state of the sliding time window of this limit.

PreemptionLimitTopAggregatedCount

Appears in:

PreemptionLimitTopAggregatedCount tracks the number of preemptions issued for one of the top aggregation units.

FieldDescription
key [Required]
string

key identifies the aggregation unit. For Global aggregation it is "Global". For ByPreemptorClusterQueue and ByPreempteeClusterQueue aggregations it is the ClusterQueue name. For ByPreempteeWorkload aggregation it is <namespace>/<workload-name>.

value [Required]
int32

value is the number of preemptions recorded within the sliding time window.

PreemptionLimitWindowStatus

Appears in:

PreemptionLimitWindowStatus defines the state of the sliding time window for a PreemptionLimit.

FieldDescription
lastUpdateTime,omitempty,omitzero [Required]
k8s.io/apimachinery/pkg/apis/meta/v1.Time

lastUpdateTime is the time when the status was last updated.

topAggregatedCounts
[]PreemptionLimitTopAggregatedCount

topAggregatedCounts shows number of issued preemptions for this limit. Periodically updated and only for informational purposes. Restricted to the top 100 counts to fit within CRD size limits.

PriorityClassGroup

(Alias of string)

Appears in:

PriorityClassGroup indicates the API group of the PriorityClass object.

PriorityClassKind

(Alias of string)

Appears in:

PriorityClassKind is the kind of the PriorityClass object.

PriorityClassSelectorOperator

(Alias of string)

Appears in:

PriorityClassSelectorOperator is the set of operators that can be used in a PriorityClassSelectorRequirement.

PriorityClassSelectorRequirement

Appears in:

PriorityClassSelectorRequirement is a selector that contains values and an operator that relates the priority class name (Workload.spec.priorityClassRef.name) to the set of values.

FieldDescription
operator [Required]
PriorityClassSelectorOperator

operator represents a priority class name's relationship to a set of values. Valid operators are In and NotIn.

values [Required]
[]string

values is an array of priority class names (matched against Workload.spec.priorityClassRef.name). For In, a workload matches only if its spec.priorityClassRef.name equals any value in this list (workloads without a priorityClassRef do not match). For NotIn, a workload matches only if its spec.priorityClassRef.name does not equal any value in this list (workloads without a priorityClassRef always match).

PriorityClassSourceRef

Appears in:

PriorityClassSourceRef identifies the API group and kind of a priority class source.

FieldDescription
group [Required]
PriorityClassGroup

group is the API group of the PriorityClass object. Use "kueue.x-k8s.io" for WorkloadPriorityClass. Use "scheduling.k8s.io" for Pod PriorityClass.

kind [Required]
PriorityClassKind

kind is the kind of the PriorityClass object. Use "WorkloadPriorityClass" for group "kueue.x-k8s.io". Use "PriorityClass" for group "scheduling.k8s.io".

ResourceFlavorReference

(Alias of string)

Appears in:

TODO: once we graduate this API to beta, we should leverage beta API's ResourceFlavorReference type instead of Alpha one. ResourceFlavorReference is the name of the ResourceFlavor.

SubtreeRootRefKind

(Alias of string)

Appears in: