sigs.k8s.io/kueue@v0.6.2/config/components/crd/bases/kueue.x-k8s.io_localqueues.yaml (about)

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