add a label key: TaskIndexKey = volcano.sh/task-index#97
Conversation
|
Welcome @shuaiyy! |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
4501b30 to
9cbc8f5
Compare
Signed-off-by: 杨帅(Starsky.Y) <shuai.yang@MacBook-Pro.lan>
9cbc8f5 to
c071e87
Compare
hwdef
left a comment
There was a problem hiding this comment.
I don't quite understand this requirement. Do you have a more detailed explanation? Is there any place where this field is used?
I have updated the description.
|
Can you provide the original requirement? Yes, this key has been added into the environment variables. |
Okay. I'm trying to use volcano to replace kubeflow training-operator in my ml-platform; the training-operator provide our ml-platform need these label:
in our scenes, the use of |
Totally agree with your point! It's incredible that our requirements are almost exactly the same! Our ml-platform is also planning to migrate from training-operator to volcanojob in order to better support multi-role distributed jobs. Like you, our code debugging service also needs to create a separate Service for each Pod. The training-operator includes a |
|
@shuaiyy: PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
this requirement makes sense for me @shuaiyy would you want to resolve the conficts, then we can get it merged |
the task pod has a label of task spec by
TaskSpecKey = "volcano.sh/task-spec",while task index missed, it's useful for pod lbael selectors to select a task pod by it's spec and index
the issue is here: add label key volcano.sh/task-index #98