From c1c155ec79fc54fcbcccc332321fb10efa50d9e3 Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Thu, 5 May 2022 16:33:52 -0700 Subject: [PATCH] Look for fully-qualified job role label in Python sdk 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 https://github.com/kubeflow/training-operator/issues/1587. --- sdk/python/kubeflow/training/constants/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/kubeflow/training/constants/constants.py b/sdk/python/kubeflow/training/constants/constants.py index 5968d121e6..5f80460abf 100644 --- a/sdk/python/kubeflow/training/constants/constants.py +++ b/sdk/python/kubeflow/training/constants/constants.py @@ -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'