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
Add check for volume zone GA labels #89365
Conversation
/priority important-soon |
bc9df06
to
637d373
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few nits related to test names.
thanks, please squash |
c067c4c
to
98405a8
Compare
squashed |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g, notpad 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 |
/retest Review the full test history for this PR. Silence the bot with an |
@msau42 I thought the intent was for the scheduler not to special-case zone/region labels... were you expecting this PR? |
@liggitt should we expect in the future that the old variables (e.g., LabelZoneRegion) will point to the GA labels? |
No, we don't redefine constants. Nodes report the beta and GA labels for now, and a controller ensures the beta and GA labels match. The controller will switch to treating the GA labels as the source of truth in #88493 (in ~1.21). |
so the schedule should start checking the stable labels at some point, is there an issue doing it now? |
if special treatment of the zone/region labels is still required, switching to use the GA labels is ok to do now |
I thought the goal was for the scheduler to not treat zone/region labels differently than any other topology labels |
The intent is to delete this volumezone predicate once csimigration is GA for all the cloud plugins that use this label. So we decided not to convert volumes to use the new ga labels and block removal of the beta labels on csimigration |
(going forward we only use PV.NodeAffinity to match node zones) |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Volume zone labels has been promoted to GA in #81431, we need to use the GA labels
Which issue(s) this PR fixes:
Fixes #89261
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig scheduling
/assign @ahg-g