Skip to content

feat(deploy): configure explicit runsc reflink checkpoints - #126

Draft
hky1999 wants to merge 1 commit into
inclusionAI:developfrom
hky1999:hky1999/runsc-reflink-checkpoint-profile
Draft

hky1999 wants to merge 1 commit into
inclusionAI:developfrom
hky1999:hky1999/runsc-reflink-checkpoint-profile

Conversation

@hky1999

@hky1999 hky1999 commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Expose an explicit runsc reflink checkpoint setting through Helm, so operators can enable the managed file-backed workload profile without maintaining a custom Sandboxd configuration. The default remains unset and follows the runtime default.

Review baseline

Rebased on inclusionAI/AKernel:develop, commit 5ded29d. Current head 08ee1c7. This is the deployment configuration part of the Harbor/Compose integration, separate from SDK #127 and Sandboxd #83.

Changes

  • Render validated node.config.sandboxd.runscCheckpointMode (full or reflink); reject unsupported values.
  • Require an explicit injection marker for custom Sandboxd config instead of silently ignoring the setting.
  • Add the reusable deploy/akernel/profiles/runsc-reflink.yaml overlay and filesystem/drain/artifact-retention guidance. Reflink is distinct from dirty-memory incremental snapshots.
  • Preserve all current develop SDK, bundle pins, storage layout and configuration defaults.

Validation and rollout boundary

The four checkpoint-mode regressions and 27 related ADX chart regressions passed; deployment script syntax checks passed. A broader 109-test chart run had one unrelated existing node-directory test error and one root-only skip in this client environment; the failing case was reproduced against the unmodified develop chart/script in a separate worktree. Those files are unchanged by this PR.

No Helm apply, production deployment, filesystem formatting/mounting, Coordinator update or runtime publication was performed. Before rollout, review compatible runtime support, filesystem reflink/same-mount requirements, durable sync and draining. Managed Docker uppers additionally require merged/pinned Sandboxd #83; the SDK cannot enable that server capability itself.

Render a validated node-owned checkpoint mode through Helm while preserving existing defaults. Provide a reusable reflink overlay and document filesystem compatibility, draining, artifact retention, and the distinction from dirty-memory incremental checkpoints.

Validate explicit mode rendering, rejected unsupported modes and custom configuration markers with chart regressions.

Signed-off-by: 月可 <hukeyang.hky@antgroup.com>
@hky1999
hky1999 force-pushed the hky1999/runsc-reflink-checkpoint-profile branch from 3da95e6 to 08ee1c7 Compare October 28, 2026 14:59
@hky1999 hky1999 changed the title feat(deploy): expose an explicit runsc reflink checkpoint profile feat(deploy): configure explicit runsc reflink checkpoints Oct 28, 2026

This branch has not been deployed

No deployments
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