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