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

     1  apiVersion: apiextensions.k8s.io/v1beta1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    annotations:
     5      controller-gen.kubebuilder.io/version: v0.6.0
     6    creationTimestamp: null
     7    name: podgroups.scheduling.volcano.sh
     8  spec:
     9    additionalPrinterColumns:
    10    - JSONPath: .status.phase
    11      name: STATUS
    12      type: string
    13    - JSONPath: .spec.minMember
    14      name: minMember
    15      type: integer
    16    - JSONPath: .status.running
    17      name: RUNNINGS
    18      type: integer
    19    - JSONPath: .metadata.creationTimestamp
    20      name: AGE
    21      type: date
    22    - JSONPath: .spec.queue
    23      name: QUEUE
    24      priority: 1
    25      type: string
    26    group: scheduling.volcano.sh
    27    names:
    28      kind: PodGroup
    29      listKind: PodGroupList
    30      plural: podgroups
    31      shortNames:
    32      - pg
    33      - podgroup-v1beta1
    34      singular: podgroup
    35    scope: Namespaced
    36    subresources: {}
    37    validation:
    38      openAPIV3Schema:
    39        description: PodGroup is a collection of Pod; used for batch workload.
    40        properties:
    41          apiVersion:
    42            description: 'APIVersion defines the versioned schema of this representation
    43              of an object. Servers should convert recognized schemas to the latest
    44              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    45            type: string
    46          kind:
    47            description: 'Kind is a string value representing the REST resource this
    48              object represents. Servers may infer this from the endpoint the client
    49              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    50            type: string
    51          metadata:
    52            type: object
    53          spec:
    54            description: 'Specification of the desired behavior of the pod group. More
    55              info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
    56            properties:
    57              minMember:
    58                description: MinMember defines the minimal number of members/tasks to
    59                  run the pod group; if there's not enough resources to start all tasks,
    60                  the scheduler will not start anyone.
    61                format: int32
    62                type: integer
    63              minResources:
    64                additionalProperties:
    65                  anyOf:
    66                  - type: integer
    67                  - type: string
    68                  pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
    69                  x-kubernetes-int-or-string: true
    70                description: MinResources defines the minimal resource of members/tasks
    71                  to run the pod group; if there's not enough resources to start all
    72                  tasks, the scheduler will not start anyone.
    73                type: object
    74              minTaskMember:
    75                additionalProperties:
    76                  format: int32
    77                  type: integer
    78                description: MinTaskMember defines the minimal number of pods to run
    79                  each task in the pod group; if there's not enough resources to start
    80                  each task, the scheduler will not start anyone.
    81                type: object
    82              priorityClassName:
    83                description: If specified, indicates the PodGroup's priority. "system-node-critical"
    84                  and "system-cluster-critical" are two special keywords which indicate
    85                  the highest priorities with the former being the highest priority.
    86                  Any other name must be defined by creating a PriorityClass object
    87                  with that name. If not specified, the PodGroup priority will be default
    88                  or zero if there is no default.
    89                type: string
    90              queue:
    91                description: Queue defines the queue to allocate resource for PodGroup;
    92                  if queue does not exist, the PodGroup will not be scheduled. Defaults
    93                  to `default` Queue with the lowest weight.
    94                type: string
    95            type: object
    96          status:
    97            description: Status represents the current information about a pod group.
    98              This data may not be up to date.
    99            properties:
   100              conditions:
   101                description: The conditions of PodGroup.
   102                items:
   103                  description: PodGroupCondition contains details for the current state
   104                    of this pod group.
   105                  properties:
   106                    lastTransitionTime:
   107                      description: Last time the phase transitioned from another to
   108                        current phase.
   109                      format: date-time
   110                      type: string
   111                    message:
   112                      description: Human-readable message indicating details about last
   113                        transition.
   114                      type: string
   115                    reason:
   116                      description: Unique, one-word, CamelCase reason for the phase's
   117                        last transition.
   118                      type: string
   119                    status:
   120                      description: Status is the status of the condition.
   121                      type: string
   122                    transitionID:
   123                      description: The ID of condition transition.
   124                      type: string
   125                    type:
   126                      description: Type is the type of the condition
   127                      type: string
   128                  type: object
   129                type: array
   130              failed:
   131                description: The number of pods which reached phase Failed.
   132                format: int32
   133                type: integer
   134              phase:
   135                description: Current phase of PodGroup.
   136                type: string
   137              running:
   138                description: The number of actively running pods.
   139                format: int32
   140                type: integer
   141              succeeded:
   142                description: The number of pods which reached phase Succeeded.
   143                format: int32
   144                type: integer
   145            type: object
   146        type: object
   147    version: v1beta1
   148    versions:
   149    - name: v1beta1
   150      served: true
   151      storage: true
   152  status:
   153    acceptedNames:
   154      kind: ""
   155      plural: ""
   156    conditions: []
   157    storedVersions: []