Skip to content

Conversation

@scaliby
Copy link
Member

@scaliby scaliby commented Nov 7, 2025

Description

When cluster supports placement-policy, we additionally need to append nodeSelector.label to workloads scheduled on this cluster.

Note: this adds a new label to workloads scheduled on non-nap clusters as well. Clarifying if this is okay.

Issue

b/455642310

Testing

Tested by scheduling an actual workload.

@scaliby scaliby force-pushed the workload-policy-label branch 2 times, most recently from 9ae1d4f to d28e51e Compare November 7, 2025 12:11
@scaliby scaliby marked this pull request as ready for review November 7, 2025 12:36
Copy link
Collaborator

@FIoannides FIoannides left a comment

Choose a reason for hiding this comment

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

LGTM, but please test this on a non-NAP cluster before merging

Copy link
Collaborator

@jamOne- jamOne- left a comment

Choose a reason for hiding this comment

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

Please add unit tests

@scaliby scaliby force-pushed the workload-policy-label branch from d28e51e to 3b18829 Compare November 13, 2025 15:46
@scaliby scaliby requested review from SikaGrr and jamOne- November 13, 2025 15:46
@scaliby scaliby merged commit ebae87d into AI-Hypercomputer:main Nov 13, 2025
32 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.

4 participants