Repository navigation
Conversation
Define schedulingConditions as a map list keyed by required nodePool. Treat each scheduling condition and schedulingState as atomic objects so independent scheduler writers can manage their own status fields. Regenerate the PodGroup CRD and add a changelog fragment. This schema change supports the scheduler status SSA migration in kai-scheduler/KAI-Scheduler#2612. Validation: go test ./scheduling/v2alpha2 -count=1 and git diff --check passed. Signed-off-by: gaoyk19 <gaoyk19@163.com>
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Enable independent server-side apply ownership of PodGroup scheduling status.
Make
schedulingConditionsa map list keyed by requirednodePool, and make each condition andschedulingStateatomic objects. This lets scheduling partitions manage their own entries without replacing another pool's result.Includes the regenerated PodGroup CRD and a changelog fragment.
Related Issues
Related to kai-scheduler/KAI-Scheduler#2612.
Checklist
make changelog.Breaking Changes
The status merge topology changes, and condition entries require a unique
nodePoolkey. Existing objects may need normalization and managedFields migration, implemented by the companion scheduler change.Consumers that infer condition recency from list position must be upgraded before enabling the SSA writer.
Additional Notes
Validation:
go test ./scheduling/v2alpha2 -count=1git diff --checkCompanion scheduler PR: kai-scheduler/KAI-Scheduler#2724
Merge and release this change before updating the scheduler's API dependency.