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