volcano.sh/volcano@v1.9.0/installer/helm/chart/volcano/crd/bases/scheduling.volcano.sh_queues.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    annotations:
     5      controller-gen.kubebuilder.io/version: v0.6.0
     6    creationTimestamp: null
     7    name: queues.scheduling.volcano.sh
     8  spec:
     9    group: scheduling.volcano.sh
    10    names:
    11      kind: Queue
    12      listKind: QueueList
    13      plural: queues
    14      shortNames:
    15      - q
    16      - queue-v1beta1
    17      singular: queue
    18    scope: Cluster
    19    versions:
    20    - name: v1beta1
    21      schema:
    22        openAPIV3Schema:
    23          description: Queue is a queue of PodGroup.
    24          properties:
    25            apiVersion:
    26              description: 'APIVersion defines the versioned schema of this representation
    27                of an object. Servers should convert recognized schemas to the latest
    28                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    29              type: string
    30            kind:
    31              description: 'Kind is a string value representing the REST resource this
    32                object represents. Servers may infer this from the endpoint the client
    33                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    34              type: string
    35            metadata:
    36              type: object
    37            spec:
    38              description: 'Specification of the desired behavior of the queue. More
    39                info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
    40              properties:
    41                affinity:
    42                  description: If specified, the pod owned by the queue will be scheduled
    43                    with constraint
    44                  properties:
    45                    nodeGroupAffinity:
    46                      description: Describes nodegroup affinity scheduling rules for
    47                        the queue(e.g. putting pods of the queue in the nodes of the
    48                        nodegroup)
    49                      properties:
    50                        preferredDuringSchedulingIgnoredDuringExecution:
    51                          items:
    52                            type: string
    53                          type: array
    54                        requiredDuringSchedulingIgnoredDuringExecution:
    55                          items:
    56                            type: string
    57                          type: array
    58                      type: object
    59                    nodeGroupAntiAffinity:
    60                      description: Describes nodegroup anti-affinity scheduling rules
    61                        for the queue(e.g. avoid putting pods of the queue in the nodes
    62                        of the nodegroup).
    63                      properties:
    64                        preferredDuringSchedulingIgnoredDuringExecution:
    65                          items:
    66                            type: string
    67                          type: array
    68                        requiredDuringSchedulingIgnoredDuringExecution:
    69                          items:
    70                            type: string
    71                          type: array
    72                      type: object
    73                  type: object
    74                capability:
    75                  additionalProperties:
    76                    anyOf:
    77                    - type: integer
    78                    - type: string
    79                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
    80                    x-kubernetes-int-or-string: true
    81                  description: ResourceList is a set of (resource name, quantity) pairs.
    82                  type: object
    83                deserved:
    84                  additionalProperties:
    85                    anyOf:
    86                    - type: integer
    87                    - type: string
    88                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
    89                    x-kubernetes-int-or-string: true
    90                  description: The amount of resources configured by the user. This
    91                    part of resource can be shared with other queues and reclaimed back.
    92                  type: object
    93                extendClusters:
    94                  description: extendCluster indicate the jobs in this Queue will be
    95                    dispatched to these clusters.
    96                  items:
    97                    description: CluterSpec represents the template of Cluster
    98                    properties:
    99                      capacity:
   100                        additionalProperties:
   101                          anyOf:
   102                          - type: integer
   103                          - type: string
   104                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   105                          x-kubernetes-int-or-string: true
   106                        description: ResourceList is a set of (resource name, quantity)
   107                          pairs.
   108                        type: object
   109                      name:
   110                        type: string
   111                      weight:
   112                        format: int32
   113                        type: integer
   114                    type: object
   115                  type: array
   116                guarantee:
   117                  description: Guarantee indicate configuration about resource reservation
   118                  properties:
   119                    resource:
   120                      additionalProperties:
   121                        anyOf:
   122                        - type: integer
   123                        - type: string
   124                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   125                        x-kubernetes-int-or-string: true
   126                      description: The amount of cluster resource reserved for queue.
   127                        Just set either `percentage` or `resource`
   128                      type: object
   129                  type: object
   130                parent:
   131                  description: Parent define the parent of queue
   132                  type: string
   133                reclaimable:
   134                  description: Reclaimable indicate whether the queue can be reclaimed
   135                    by other queue
   136                  type: boolean
   137                type:
   138                  description: Type define the type of queue
   139                  type: string
   140                weight:
   141                  format: int32
   142                  type: integer
   143              type: object
   144            status:
   145              description: The status of queue.
   146              properties:
   147                allocated:
   148                  additionalProperties:
   149                    anyOf:
   150                    - type: integer
   151                    - type: string
   152                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   153                    x-kubernetes-int-or-string: true
   154                  description: Allocated is allocated resources in queue
   155                  type: object
   156                completed:
   157                  description: The number of `Completed` PodGroup in this queue.
   158                  format: int32
   159                  type: integer
   160                inqueue:
   161                  description: The number of `Inqueue` PodGroup in this queue.
   162                  format: int32
   163                  type: integer
   164                pending:
   165                  description: The number of 'Pending' PodGroup in this queue.
   166                  format: int32
   167                  type: integer
   168                reservation:
   169                  description: Reservation is the profile of resource reservation for
   170                    queue
   171                  properties:
   172                    nodes:
   173                      description: Nodes are Locked nodes for queue
   174                      items:
   175                        type: string
   176                      type: array
   177                    resource:
   178                      additionalProperties:
   179                        anyOf:
   180                        - type: integer
   181                        - type: string
   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                      description: Resource is a list of total idle resource in locked
   185                        nodes.
   186                      type: object
   187                  type: object
   188                running:
   189                  description: The number of 'Running' PodGroup in this queue.
   190                  format: int32
   191                  type: integer
   192                state:
   193                  description: State is state of queue
   194                  type: string
   195                unknown:
   196                  description: The number of 'Unknown' PodGroup in this queue.
   197                  format: int32
   198                  type: integer
   199              required:
   200              - allocated
   201              type: object
   202          type: object
   203      served: true
   204      storage: true
   205      subresources:
   206        status: {}
   207  status:
   208    acceptedNames:
   209      kind: ""
   210      plural: ""
   211    conditions: []
   212    storedVersions: []