volcano.sh/apis@v1.8.2/pkg/apis/batch/v1alpha1/labels.go (about) 1 /* 2 Copyright 2017 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 v1alpha1 18 19 const ( 20 // TaskSpecKey task spec key used in pod annotation 21 TaskSpecKey = "volcano.sh/task-spec" 22 // TaskIndex is task index of each spec in annotation / labels 23 TaskIndex = "volcano.sh/task-index" 24 // JobNameKey job name key used in pod annotation / labels 25 JobNameKey = "volcano.sh/job-name" 26 // QueueNameKey queue name key used in pod annotation / labels 27 QueueNameKey = "volcano.sh/queue-name" 28 // JobNamespaceKey job namespace key 29 JobNamespaceKey = "volcano.sh/job-namespace" 30 // DefaultTaskSpec default task spec value 31 DefaultTaskSpec = "default" 32 // JobVersion job version key used in pod annotation 33 JobVersion = "volcano.sh/job-version" 34 // JobTypeKey job type key used in labels 35 JobTypeKey = "volcano.sh/job-type" 36 // PodgroupNamePrefix podgroup name prefix 37 PodgroupNamePrefix = "podgroup-" 38 // PodTemplateKey type specify a equivalence pod class 39 PodTemplateKey = "volcano.sh/template-uid" 40 // JobForwardingKey job forwarding key used in job annotation 41 JobForwardingKey = "volcano.sh/job-forwarding" 42 // ForwardClusterKey cluster key used in pod annotation 43 ForwardClusterKey = "volcano.sh/forward-cluster" 44 // OrginalNameKey annotation key for resource name 45 OrginalNameKey = "volcano.sh/burst-name" 46 // BurstToSiloClusterAnnotation labels key for resource only in silo cluster 47 BurstToSiloClusterAnnotation = "volcano.sh/silo-resource" 48 )