Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding master role label for TFJob #896

Merged
merged 1 commit into from
Dec 18, 2018
Merged

Adding master role label for TFJob #896

merged 1 commit into from
Dec 18, 2018

Conversation

johnugeorge
Copy link
Member

@johnugeorge johnugeorge commented Dec 18, 2018

New master role label is set in the pod which acts as master of the job. In katib, this label is useful to track the master who is responsible for logging.

Sets new label 'tf_job_role':'master' to the

  1. master pod if master pod is present
  2. first worker pod if master pod is not present

Related: kubeflow/katib#294


This change is Reviewable

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 64.864% when pulling 4eeb2f8 on johnugeorge:masterrole into 31e7169 on kubeflow:master.

@johnugeorge
Copy link
Member Author

/assign @gaocegege
/assign @richardsliu

@richardsliu
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: richardsliu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 451069f into kubeflow:master Dec 18, 2018
@johnugeorge johnugeorge changed the title Adding master role label Adding master role label for TFJob Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants