Skip to content

Commit 9cbc8f5

Browse files
杨帅(Starsky.Y)杨帅(Starsky.Y)
authored andcommitted
add a label key: TaskIndexKey = volcano.sh/task-index
Signed-off-by: 杨帅(Starsky.Y) <[email protected]>
1 parent 99768c6 commit 9cbc8f5

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
@@ -19,6 +19,8 @@ package v1alpha1
1919
const (
2020
// TaskSpecKey task spec key used in pod annotation
2121
TaskSpecKey = "volcano.sh/task-spec"
22+
// TaskIndexKey task index key used in pod annotation
23+
TaskIndexKey = "volcano.sh/task-index"
2224
// JobNameKey job name key used in pod annotation / labels
2325
JobNameKey = "volcano.sh/job-name"
2426
// QueueNameKey queue name key used in pod annotation / labels

0 commit comments

Comments
 (0)