sigs.k8s.io/kueue@v0.6.2/charts/kueue/templates/crd/kueue.x-k8s.io_localqueues.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: localqueues.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: LocalQueue
    25      listKind: LocalQueueList
    26      plural: localqueues
    27      shortNames:
    28      - queue
    29      - queues
    30      singular: localqueue
    31    scope: Namespaced
    32    versions:
    33    - additionalPrinterColumns:
    34      - description: Backing ClusterQueue
    35        jsonPath: .spec.clusterQueue
    36        name: ClusterQueue
    37        type: string
    38      - description: Number of pending workloads
    39        jsonPath: .status.pendingWorkloads
    40        name: Pending Workloads
    41        type: integer
    42      - description: Number of admitted workloads that haven't finished yet.
    43        jsonPath: .status.admittedWorkloads
    44        name: Admitted Workloads
    45        type: integer
    46      name: v1beta1
    47      schema:
    48        openAPIV3Schema:
    49          description: LocalQueue is the Schema for the localQueues API
    50          properties:
    51            apiVersion:
    52              description: |-
    53                APIVersion defines the versioned schema of this representation of an object.
    54                Servers should convert recognized schemas to the latest internal value, and
    55                may reject unrecognized values.
    56                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    57              type: string
    58            kind:
    59              description: |-
    60                Kind is a string value representing the REST resource this object represents.
    61                Servers may infer this from the endpoint the client submits requests to.
    62                Cannot be updated.
    63                In CamelCase.
    64                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    65              type: string
    66            metadata:
    67              type: object
    68            spec:
    69              description: LocalQueueSpec defines the desired state of LocalQueue
    70              properties:
    71                clusterQueue:
    72                  description: clusterQueue is a reference to a clusterQueue that backs
    73                    this localQueue.
    74                  type: string
    75              type: object
    76            status:
    77              description: LocalQueueStatus defines the observed state of LocalQueue
    78              properties:
    79                admittedWorkloads:
    80                  description: |-
    81                    admittedWorkloads is the number of workloads in this LocalQueue
    82                    admitted to a ClusterQueue and that haven't finished yet.
    83                  format: int32
    84                  type: integer
    85                conditions:
    86                  description: |-
    87                    Conditions hold the latest available observations of the LocalQueue
    88                    current state.
    89                  items:
    90                    description: "Condition contains details for one aspect of the current
    91                      state of this API Resource.\n---\nThis struct is intended for
    92                      direct use as an array at the field path .status.conditions.  For
    93                      example,\n\n\n\ttype FooStatus struct{\n\t    // Represents the
    94                      observations of a foo's current state.\n\t    // Known .status.conditions.type
    95                      are: \"Available\", \"Progressing\", and \"Degraded\"\n\t    //
    96                      +patchMergeKey=type\n\t    // +patchStrategy=merge\n\t    // +listType=map\n\t
    97                      \   // +listMapKey=type\n\t    Conditions []metav1.Condition `json:\"conditions,omitempty\"
    98                      patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
    99                      \   // other fields\n\t}"
   100                    properties:
   101                      lastTransitionTime:
   102                        description: |-
   103                          lastTransitionTime is the last time the condition transitioned from one status to another.
   104                          This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
   105                        format: date-time
   106                        type: string
   107                      message:
   108                        description: |-
   109                          message is a human readable message indicating details about the transition.
   110                          This may be an empty string.
   111                        maxLength: 32768
   112                        type: string
   113                      observedGeneration:
   114                        description: |-
   115                          observedGeneration represents the .metadata.generation that the condition was set based upon.
   116                          For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
   117                          with respect to the current state of the instance.
   118                        format: int64
   119                        minimum: 0
   120                        type: integer
   121                      reason:
   122                        description: |-
   123                          reason contains a programmatic identifier indicating the reason for the condition's last transition.
   124                          Producers of specific condition types may define expected values and meanings for this field,
   125                          and whether the values are considered a guaranteed API.
   126                          The value should be a CamelCase string.
   127                          This field may not be empty.
   128                        maxLength: 1024
   129                        minLength: 1
   130                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   131                        type: string
   132                      status:
   133                        description: status of the condition, one of True, False, Unknown.
   134                        enum:
   135                        - "True"
   136                        - "False"
   137                        - Unknown
   138                        type: string
   139                      type:
   140                        description: |-
   141                          type of condition in CamelCase or in foo.example.com/CamelCase.
   142                          ---
   143                          Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
   144                          useful (see .node.status.conditions), the ability to deconflict is important.
   145                          The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   146                        maxLength: 316
   147                        pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
   148                        type: string
   149                    required:
   150                    - lastTransitionTime
   151                    - message
   152                    - reason
   153                    - status
   154                    - type
   155                    type: object
   156                  type: array
   157                  x-kubernetes-list-map-keys:
   158                  - type
   159                  x-kubernetes-list-type: map
   160                flavorUsage:
   161                  description: |-
   162                    flavorsUsage are the used quotas, by flavor currently in use by the
   163                    workloads assigned to this LocalQueue.
   164                  items:
   165                    properties:
   166                      name:
   167                        description: name of the flavor.
   168                        type: string
   169                      resources:
   170                        description: resources lists the quota usage for the resources
   171                          in this flavor.
   172                        items:
   173                          properties:
   174                            name:
   175                              description: name of the resource.
   176                              type: string
   177                            total:
   178                              anyOf:
   179                              - type: integer
   180                              - type: string
   181                              description: total is the total quantity of used quota.
   182                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   183                              x-kubernetes-int-or-string: true
   184                          required:
   185                          - name
   186                          type: object
   187                        maxItems: 16
   188                        type: array
   189                        x-kubernetes-list-map-keys:
   190                        - name
   191                        x-kubernetes-list-type: map
   192                    required:
   193                    - name
   194                    - resources
   195                    type: object
   196                  maxItems: 16
   197                  type: array
   198                  x-kubernetes-list-map-keys:
   199                  - name
   200                  x-kubernetes-list-type: map
   201                flavorsReservation:
   202                  description: |-
   203                    flavorsReservation are the reserved quotas, by flavor currently in use by the
   204                    workloads assigned to this LocalQueue.
   205                  items:
   206                    properties:
   207                      name:
   208                        description: name of the flavor.
   209                        type: string
   210                      resources:
   211                        description: resources lists the quota usage for the resources
   212                          in this flavor.
   213                        items:
   214                          properties:
   215                            name:
   216                              description: name of the resource.
   217                              type: string
   218                            total:
   219                              anyOf:
   220                              - type: integer
   221                              - type: string
   222                              description: total is the total quantity of used quota.
   223                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   224                              x-kubernetes-int-or-string: true
   225                          required:
   226                          - name
   227                          type: object
   228                        maxItems: 16
   229                        type: array
   230                        x-kubernetes-list-map-keys:
   231                        - name
   232                        x-kubernetes-list-type: map
   233                    required:
   234                    - name
   235                    - resources
   236                    type: object
   237                  maxItems: 16
   238                  type: array
   239                  x-kubernetes-list-map-keys:
   240                  - name
   241                  x-kubernetes-list-type: map
   242                pendingWorkloads:
   243                  description: PendingWorkloads is the number of Workloads in the LocalQueue
   244                    not yet admitted to a ClusterQueue
   245                  format: int32
   246                  type: integer
   247                reservingWorkloads:
   248                  description: |-
   249                    reservingWorkloads is the number of workloads in this LocalQueue
   250                    reserving quota in a ClusterQueue and that haven't finished yet.
   251                  format: int32
   252                  type: integer
   253              type: object
   254          type: object
   255      served: true
   256      storage: true
   257      subresources:
   258        status: {}