Skip to content

Fix missing ReplicaIndexLabel when using RunLauncherAsWorker #690

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

Conversation

GonzaloSaez
Copy link
Contributor

@GonzaloSaez GonzaloSaez commented Apr 6, 2025

Kueue's TAS expects all pods in a Pod Group to have the pod index label. Else it starts printing out annoying errors like failed to read rank information from Pods. The latter happens when using RunLauncherAsWorker. To fix this we need to add the pod index label to the launchers' pod.

@google-oss-prow google-oss-prow bot requested review from carmark and zw0610 April 6, 2025 11:28
@GonzaloSaez
Copy link
Contributor Author

cc: @tenzen-y

@tenzen-y
Copy link
Member

cc: @tenzen-y

Thank you for fixing this. At first glance, fixing looks reasonable. Let me review this more deeply, later.

@tenzen-y
Copy link
Member

cc: @mimowo

@tenzen-y
Copy link
Member

@GonzaloSaez could you sign CLA?

@mimowo
Copy link
Contributor

mimowo commented Apr 11, 2025

LGTM

@GonzaloSaez GonzaloSaez force-pushed the fix_missing_index_label_runlauncherasworker branch from 90a4857 to 686009e Compare April 12, 2025 08:10
Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks great to me. Thank you!
@GonzaloSaez I fixed the CI errors in a separate PR.
So, could you rebase this PR?

After that we can merge this PR, thanks.

@GonzaloSaez GonzaloSaez force-pushed the fix_missing_index_label_runlauncherasworker branch from 686009e to 55ad4cb Compare April 14, 2025 20:25
Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
/lgtm
/approve

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tenzen-y

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

@google-oss-prow google-oss-prow bot merged commit 535665c into kubeflow:master Apr 14, 2025
10 checks passed
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.

3 participants