Repository navigation
Conversation
Signed-off-by: thxCode <thxcode0824@gmail.com>
Read running group size and execution from member Pods. Keep health, cache, status, joint admission, and retirement independent of the replacement configuration. Task 1 of model-deployment-role-mutability. Signed-off-by: thxCode <thxcode0824@gmail.com>
- Keep role names and kinds fixed while allowing shape and command edits. - Revalidate changed role dependencies and preserve external drift access. - Retain Elastic EP constraints and document whole-group replacement. Task 2 of model-deployment-role-mutability. Signed-off-by: thxCode <thxcode0824@gmail.com>
Describe recovery in the active replica slot and retain deployed routing during updates. State that fresh admission can advance replacement before the engine is ready. Task 2 of model-deployment-role-mutability. Signed-off-by: thxCode <thxcode0824@gmail.com>
Persist one replacement per role through cleanup, creation, and fresh admission. Preserve deployed routing and peer services during size and command changes. Recover interrupted writes and member loss without replacing healthy siblings. Task 3 of model-deployment-role-mutability. Signed-off-by: thxCode <thxcode0824@gmail.com>
Generate from the verified source commit and compare two complete generation passes. Keep ordinary role editability and Elastic EP restrictions aligned in published schemas and clients. Task 4 of model-deployment-role-mutability. Signed-off-by: thxCode <thxcode0824@gmail.com>
Read current members before synchronizing Services. Preserve their answering shape before the first replacement appears. Avoid empty replacement candidates when a legacy Pod has no ordinal. Assert complete selectors and retain qualification revocation. Document parallelism as the desired role configuration. Signed-off-by: thxCode <thxcode0824@gmail.com>
Mark all implementation tasks complete. Record local race tests, lint, generation parity, compilation, and review corrections. Keep runtime acceptance pending for user-arranged testing before PR creation. Signed-off-by: thxCode <thxcode0824@gmail.com>
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 1 selected item(s). Reviewed |
Signed-off-by: thxCode <thxcode0824@gmail.com>
Ignore placement pins added only to Workload templates when proving fresh replacement admission. Preserve member affinity and all existing ownership, resource and queue checks. Add regression controls for sliced, shared and model-manager placement pins. Record the runtime validation still in progress. Task 5 of model-deployment-role-mutability. Signed-off-by: thxCode <thxcode0824@gmail.com>
Preserve per-replica peer DNS while deployed members remain during role configuration replacement. Cover standing and terminating surplus members, harden case 115 ownership-safe cleanup, and record the scoped runtime validation. Signed-off-by: thxCode <thxcode0824@gmail.com>
…ement Scope the front Service gate to the front role's standing members, treat an unreadable External-DP reading as unknown instead of leader-served, and return replacement server read failures as errors so the slot requeues instead of waiting for an event that never comes. Signed-off-by: thxCode <thxcode0824@gmail.com>
Signed-off-by: thxCode <thxcode0824@gmail.com>
|
Addressed in ca03323 and 2e85bc2. Fixed:
Not changed here: the two performance comments (per-pass uncached Workload lists and per-role Service reads). The uncached reads guard against informer lag in the replacement window, so replacing them needs its own change. Follow-up. Also added the missing Signed-off-by to one earlier commit; the branch history was rewritten with no content change. Tests: |
…ents Signed-off-by: thxCode <thxcode0824@gmail.com>
Signed-off-by: thxCode <thxcode0824@gmail.com>
Signed-off-by: thxCode <thxcode0824@gmail.com>
Signed-off-by: thxCode <thxcode0824@gmail.com>
|
Addressed the latest review round (8 inline threads and 6 summary-routed findings, 14 in total, matching the bot's count). The fixes are committed as fixups of the commits that own the code and will be pushed as a fast-forward. Fixed
Not changed, with reasons (replied in each thread)
Already satisfied (no change): the three reminders to include regression tests and regenerated output. Tests for those contracts are in the PR, and this round changes no API types or markers. Checks run locally: Resolved the two threads whose fixes landed; the others stay open for the reviewer. |
…ents Signed-off-by: thxCode <thxcode0824@gmail.com>
…ents Signed-off-by: thxCode <thxcode0824@gmail.com>
|
Addressed the follow-up review on the previous fixups (1 inline thread, no findings routed to the summary). Fixed
Verification
|
What type of PR is this?
/kind enhancement
/area worker
What this PR does / why we need it:
ModelDeployment.spec.roles[]updates tosize,resources,instanceType, andcommandthrough whole-replica replacement with fresh Kueue admission.Validation:
make testpassed for the full repository with race detection, shuffled tests, and coverage.make lint,make lint docs,make lint agents-shell,make build,make generate(two passes), andgit diff --checkpassed.Which issue(s) this PR links to:
NONE
Special notes for your reviewer:
member-index=0is shape-dependent: ordinary multi-member roles select the leader, External DP selects qualified ranks, and mixed old/new configurations use the deployed member shape until replacement completes.Does this PR introduce a user-facing change?