volcano.sh/volcano@v1.9.0/config/crd/volcano/v1beta1/scheduling.volcano.sh_queues.yaml (about)

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