sigs.k8s.io/kueue@v0.6.2/charts/kueue/templates/crd/kueue.x-k8s.io_workloadpriorityclasses.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      {{- if .Values.enableCertManager }}
     7      cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "kueue.fullname" . }}-serving-cert
     8      {{- end }}
     9      controller-gen.kubebuilder.io/version: v0.14.0
    10    name: workloadpriorityclasses.kueue.x-k8s.io
    11  spec:
    12    conversion:
    13      strategy: Webhook
    14      webhook:
    15        clientConfig:
    16          service:
    17            name: {{ include "kueue.fullname" . }}-webhook-service
    18            namespace: '{{ .Release.Namespace }}'
    19            path: /convert
    20        conversionReviewVersions:
    21        - v1
    22    group: kueue.x-k8s.io
    23    names:
    24      kind: WorkloadPriorityClass
    25      listKind: WorkloadPriorityClassList
    26      plural: workloadpriorityclasses
    27      singular: workloadpriorityclass
    28    scope: Cluster
    29    versions:
    30    - additionalPrinterColumns:
    31      - description: Value of workloadPriorityClass's Priority
    32        jsonPath: .value
    33        name: Value
    34        type: integer
    35      name: v1beta1
    36      schema:
    37        openAPIV3Schema:
    38          description: WorkloadPriorityClass is the Schema for the workloadPriorityClass
    39            API
    40          properties:
    41            apiVersion:
    42              description: |-
    43                APIVersion defines the versioned schema of this representation of an object.
    44                Servers should convert recognized schemas to the latest internal value, and
    45                may reject unrecognized values.
    46                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    47              type: string
    48            description:
    49              description: |-
    50                description is an arbitrary string that usually provides guidelines on
    51                when this workloadPriorityClass should be used.
    52              type: string
    53            kind:
    54              description: |-
    55                Kind is a string value representing the REST resource this object represents.
    56                Servers may infer this from the endpoint the client submits requests to.
    57                Cannot be updated.
    58                In CamelCase.
    59                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    60              type: string
    61            metadata:
    62              type: object
    63            value:
    64              description: |-
    65                value represents the integer value of this workloadPriorityClass. This is the actual priority that workloads
    66                receive when jobs have the name of this class in their workloadPriorityClass label.
    67                Changing the value of workloadPriorityClass doesn't affect the priority of workloads that were already created.
    68              format: int32
    69              type: integer
    70          required:
    71          - value
    72          type: object
    73      served: true
    74      storage: true
    75      subresources: {}