Skip to content

Commit

Permalink
Look for fully-qualified job role label in Python sdk (#1588)
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 authored Jun 3, 2022
1 parent 0a32353 commit b971d8c
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 b971d8c

Please sign in to comment.