clusterforge/kueue/CustomResourceDefinition_workloadpriorityclasses.kueue.x-k8s.io.yaml
2025-10-06 09:34:03 +00:00

77 lines
2.8 KiB
YAML

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.3
labels:
app.kubernetes.io/instance: kueue
app.kubernetes.io/name: kueue
app.kubernetes.io/version: v0.12.3
control-plane: controller-manager
name: workloadpriorityclasses.kueue.x-k8s.io
spec:
conversion:
strategy: Webhook
webhook:
clientConfig:
service:
name: kueue-webhook-service
namespace: kueue-system
path: /convert
conversionReviewVersions:
- v1
group: kueue.x-k8s.io
names:
kind: WorkloadPriorityClass
listKind: WorkloadPriorityClassList
plural: workloadpriorityclasses
singular: workloadpriorityclass
scope: Cluster
versions:
- additionalPrinterColumns:
- description: Value of workloadPriorityClass's Priority
jsonPath: .value
name: Value
type: integer
name: v1beta1
schema:
openAPIV3Schema:
description: WorkloadPriorityClass is the Schema for the workloadPriorityClass API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
description:
description: |-
description is an arbitrary string that usually provides guidelines on
when this workloadPriorityClass should be used.
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
value:
description: |-
value represents the integer value of this workloadPriorityClass. This is the actual priority that workloads
receive when jobs have the name of this class in their workloadPriorityClass label.
Changing the value of workloadPriorityClass doesn't affect the priority of workloads that were already created.
format: int32
type: integer
required:
- value
type: object
served: true
storage: true
subresources: {}