Skip to content

Commit

Permalink
Look for fully-qualified job role label in Python sdk
Browse files Browse the repository at this point in the history
Currently certain operations like tailing logs from the Python sdk
against the latest version of the operator due to a label mistmatch;
fix that.

Closes #1587.
  • Loading branch information
person142 committed May 5, 2022
1 parent ce82602 commit c1c155e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/constants/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
JOB_NAME_LABEL = 'job-name'
JOB_TYPE_LABEL = 'replica-type'
JOB_INDEX_LABEL = 'replica-index'
JOB_ROLE_LABEL = 'job-role'
JOB_ROLE_LABEL = 'training.kubeflow.org/job-role'

JOB_STATUS_SUCCEEDED = 'Succeeded'
JOB_STATUS_FAILED = 'Failed'
Expand Down

0 comments on commit c1c155e

Please sign in to comment.