volcano.sh/volcano@v1.9.0/pkg/scheduler/api/well_known_labels.go (about) 1 /* 2 Copyright 2020 The Volcano Authors. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 package api 18 19 const ( 20 21 // VolcanoGPUResource extended gpu resource 22 VolcanoGPUResource = "volcano.sh/gpu-memory" 23 // VolcanoGPUNumber virtual GPU card number 24 VolcanoGPUNumber = "volcano.sh/gpu-number" 25 26 // PredicateTime is the key of predicate time 27 PredicateTime = "volcano.sh/predicate-time" 28 // GPUIndex is the key of gpu index 29 GPUIndex = "volcano.sh/gpu-index" 30 31 // UnhealthyGPUIDs list of unhealthy gpu ids 32 UnhealthyGPUIDs = "volcano.sh/gpu-unhealthy-ids" 33 34 // OversubscriptionNode is the key of node oversubscription 35 OversubscriptionNode = "volcano.sh/oversubscription" 36 // OversubscriptionCPU is the key of cpu oversubscription 37 OversubscriptionCPU = "volcano.sh/oversubscription-cpu" 38 // OversubscriptionMemory is the key of memory oversubscription 39 OversubscriptionMemory = "volcano.sh/oversubscription-memory" 40 // OfflineJobEvicting node will not schedule pod due to offline job evicting 41 OfflineJobEvicting = "volcano.sh/offline-job-evicting" 42 43 // topologyDecisionAnnotation is the key of topology decision about pod request resource 44 topologyDecisionAnnotation = "volcano.sh/topology-decision" 45 )