Skip to content

Commit

Permalink
add a label key: TaskIndexKey = volcano.sh/task-index
Browse files Browse the repository at this point in the history
Signed-off-by: 杨帅(Starsky.Y) <[email protected]>
  • Loading branch information
杨帅(Starsky.Y) authored and 杨帅(Starsky.Y) committed Jan 18, 2023
1 parent 99768c6 commit 9cbc8f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/batch/v1alpha1/labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package v1alpha1
const (
// TaskSpecKey task spec key used in pod annotation
TaskSpecKey = "volcano.sh/task-spec"
// TaskIndexKey task index key used in pod annotation
TaskIndexKey = "volcano.sh/task-index"
// JobNameKey job name key used in pod annotation / labels
JobNameKey = "volcano.sh/job-name"
// QueueNameKey queue name key used in pod annotation / labels
Expand Down

0 comments on commit 9cbc8f5

Please sign in to comment.