Skip to content

Commit 21e2239

Browse files
authored
add annotation <volcano.sh/template-uid> for equivalence cahce function (volcano-sh#39)
Signed-off-by: huone1 <huwanxing@huawei.com>
1 parent b2aa460 commit 21e2239

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/apis/batch/v1alpha1/labels.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ const (
3333
JobTypeKey = "volcano.sh/job-type"
3434
// PodgroupNamePrefix podgroup name prefix
3535
PodgroupNamePrefix = "podgroup-"
36+
// PodTemplateKey type specify a equivalence pod class
37+
PodTemplateKey = "volcano.sh/template-uid"
3638
)

0 commit comments

Comments
 (0)