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