Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Allow modification of controller's replica index/type labels #98

Open
terrytangyuan opened this issue Jun 17, 2020 · 5 comments
Open

Allow modification of controller's replica index/type labels #98

terrytangyuan opened this issue Jun 17, 2020 · 5 comments

Comments

@terrytangyuan
Copy link
Member

Per comment in kubeflow/training-operator#1171 (comment), given that each operator may have different labels, we should discuss whether we want to allow each operator's controller that implements JobController to change ReplicaIndexLabel and ReplicaTypeLabel. For example, something like the following for tf-operator:

func (jc *JobController) GetReplicaTypeLabelKey() string {
	return tfReplicaTypeLabel
}

cc @gaocegege @Jeffwan @ChanYiLin @johnugeorge

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the labels:

Label Probability
area/operator 0.92
kind/feature 0.73

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

@kf-label-bot-dev
Copy link

Issue-Label Bot is automatically applying the labels:

Label Probability
feature 0.73

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

@Jeffwan
Copy link
Member

Jeffwan commented Jun 22, 2020

I think we can have an interface there, and leave replica-type as default implementation in kubeflow/common, different operators can still override it if there's a need.

@terrytangyuan
Copy link
Member Author

Yes they should be able to override the defaults.

@ChanYiLin
Copy link
Member

I will take the issue
/assign @ChanYiLin

georgkaleido pushed a commit to georgkaleido/common that referenced this issue Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants