Skip to content

feat(api): support per-pool PodGroup scheduling status ownership - #36

Open
gaoyk19 wants to merge 1 commit into
kai-scheduler:mainfrom
gaoyk19:fix/podgroup-status-ssa
Open

gaoyk19 wants to merge 1 commit into
kai-scheduler:mainfrom
gaoyk19:fix/podgroup-status-ssa

Conversation

@gaoyk19

@gaoyk19 gaoyk19 commented Nov 19, 2026 •

Copy link
Copy Markdown

Description

Enable independent server-side apply ownership of PodGroup scheduling status.

Make schedulingConditions a map list keyed by required nodePool, and make each condition and schedulingState atomic 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

  • Self-reviewed
  • Added/updated tests (if needed) — no tests added here; SSA migration scenarios are covered by the companion scheduler change.
  • Updated documentation (if needed) — rollout documentation is included in the companion scheduler change.
  • Added a changelog fragment via make changelog.

Breaking Changes

The status merge topology changes, and condition entries require a unique nodePool key. 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=1
  • git diff --check

Companion scheduler PR: kai-scheduler/KAI-Scheduler#2724

Merge and release this change before updating the scheduler's API dependency.

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant