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

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     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    versions:
    22    - name: v1beta1
    23      schema:
    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
    41                info: 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
    49                        the queue(e.g. putting pods of the queue in the nodes of the
    50                        nodegroup)
    51                      properties:
    52                        preferredDuringSchedulingIgnoredDuringExecution:
    53                          items:
    54                            type: string
    55                          type: array
    56                        requiredDuringSchedulingIgnoredDuringExecution:
    57                          items:
    58                            type: string
    59                          type: array
    60                      type: object
    61                    nodeGroupAntiAffinity:
    62                      description: Describes nodegroup anti-affinity scheduling rules
    63                        for the queue(e.g. avoid putting pods of the queue in the nodes
    64                        of the nodegroup).
    65                      properties:
    66                        preferredDuringSchedulingIgnoredDuringExecution:
    67                          items:
    68                            type: string
    69                          type: array
    70                        requiredDuringSchedulingIgnoredDuringExecution:
    71                          items:
    72                            type: string
    73                          type: array
    74                      type: object
    75                  type: object
    76                capability:
    77                  additionalProperties:
    78                    anyOf:
    79                    - type: integer
    80                    - type: string
    81                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
    82                    x-kubernetes-int-or-string: true
    83                  description: ResourceList is a set of (resource name, quantity) pairs.
    84                  type: object
    85                deserved:
    86                  additionalProperties:
    87                    anyOf:
    88                    - type: integer
    89                    - type: string
    90                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
    91                    x-kubernetes-int-or-string: true
    92                  description: The amount of resources configured by the user. This
    93                    part of resource can be shared with other queues and reclaimed back.
    94                  type: object
    95                extendClusters:
    96                  description: extendCluster indicate the jobs in this Queue will be
    97                    dispatched to these clusters.
    98                  items:
    99                    description: CluterSpec represents the template of Cluster
   100                    properties:
   101                      capacity:
   102                        additionalProperties:
   103                          anyOf:
   104                          - type: integer
   105                          - type: string
   106                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   107                          x-kubernetes-int-or-string: true
   108                        description: ResourceList is a set of (resource name, quantity)
   109                          pairs.
   110                        type: object
   111                      name:
   112                        type: string
   113                      weight:
   114                        format: int32
   115                        type: integer
   116                    type: object
   117                  type: array
   118                guarantee:
   119                  description: Guarantee indicate configuration about resource reservation
   120                  properties:
   121                    resource:
   122                      additionalProperties:
   123                        anyOf:
   124                        - type: integer
   125                        - type: string
   126                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   127                        x-kubernetes-int-or-string: true
   128                      description: The amount of cluster resource reserved for queue.
   129                        Just set either `percentage` or `resource`
   130                      type: object
   131                  type: object
   132                parent:
   133                  description: Parent define the parent of queue
   134                  type: string
   135                reclaimable:
   136                  description: Reclaimable indicate whether the queue can be reclaimed
   137                    by other queue
   138                  type: boolean
   139                type:
   140                  description: Type define the type of queue
   141                  type: string
   142                weight:
   143                  format: int32
   144                  type: integer
   145              type: object
   146            status:
   147              description: The status of queue.
   148              properties:
   149                allocated:
   150                  additionalProperties:
   151                    anyOf:
   152                    - type: integer
   153                    - type: string
   154                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   155                    x-kubernetes-int-or-string: true
   156                  description: Allocated is allocated resources in queue
   157                  type: object
   158                completed:
   159                  description: The number of `Completed` PodGroup in this queue.
   160                  format: int32
   161                  type: integer
   162                inqueue:
   163                  description: The number of `Inqueue` PodGroup in this queue.
   164                  format: int32
   165                  type: integer
   166                pending:
   167                  description: The number of 'Pending' PodGroup in this queue.
   168                  format: int32
   169                  type: integer
   170                reservation:
   171                  description: Reservation is the profile of resource reservation for
   172                    queue
   173                  properties:
   174                    nodes:
   175                      description: Nodes are Locked nodes for queue
   176                      items:
   177                        type: string
   178                      type: array
   179                    resource:
   180                      additionalProperties:
   181                        anyOf:
   182                        - type: integer
   183                        - type: string
   184                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   185                        x-kubernetes-int-or-string: true
   186                      description: Resource is a list of total idle resource in locked
   187                        nodes.
   188                      type: object
   189                  type: object
   190                running:
   191                  description: The number of 'Running' PodGroup in this queue.
   192                  format: int32
   193                  type: integer
   194                state:
   195                  description: State is state of queue
   196                  type: string
   197                unknown:
   198                  description: The number of 'Unknown' PodGroup in this queue.
   199                  format: int32
   200                  type: integer
   201              required:
   202              - allocated
   203              type: object
   204          type: object
   205      served: true
   206      storage: true
   207      subresources:
   208        status: {}
   209  status:
   210    acceptedNames:
   211      kind: ""
   212      plural: ""
   213    conditions: []
   214    storedVersions: []