Skip to content

feat: configure shared ChunkDB capacity in node deployments - #74

Merged
tianyuzhou95 merged 2 commits into
mainfrom
codex/chunk-db-capacity
Sep 22, 2026
Merged

tianyuzhou95 merged 2 commits into
mainfrom
codex/chunk-db-capacity

Conversation

@tianyuzhou95

@tianyuzhou95 tianyuzhou95 commented Sep 19, 2026 •

Copy link
Copy Markdown
Collaborator

Expose shared ChunkDB capacity through standalone AKERNEL_CHUNK_DB_SIZE, Helm core.node.config.sandboxd.chunkDbSize, Terraform chunk_db_size for Alibaba/Huawei Cloud, and guided make config CHUNK_DB_SIZE=64GiB. Omitted settings preserve the current Linux 100 GiB default. Input is validated before rendering the shared sandboxd [plugin.image].chunk_db_size setting in every deployment path; changing the Helm setting also changes the node Pod configuration checksum.

Pin the published distill-fs v0.1.2 archive and verified SHA-256. The release contains the optimized, stripped, static Linux/amd64 executable.

The current main already pins sandboxd e67b258, which descends from the merged ChunkDB support in inclusionAI/sandboxd#59 and additionally contains the gVisor runtime-bundle update. No separate gitlink commit is needed after rebasing.

Validation: make deploy-script-check, Terraform formatting, Helm lint, and deployment rendering checks passed. The distill-fs release archive and its static binary contract were verified, and sandboxd CI passed its real FUSE integration against that published binary.

@tianyuzhou95
tianyuzhou95 marked this pull request as ready for review September 20, 2026 03:41
Add optional capacity settings for standalone, Helm, and both cloud
Terraform modules, including guided profile generation. Preserve the
existing distill-fs default when no override is supplied and validate
input syntax before rendering the node configuration.

Document consistent node-wide configuration, supported size units, and
the cache replacement required when changing capacity. Custom templates
retain a marker so overrides cannot silently miss the image configuration.

Signed-off-by: Tianyu Zhou <albert.zty@antgroup.com>
Consume the published stripped static release with configurable ChunkDB
capacity. Pin its release URL and verified archive SHA-256 together.

Verify provenance, binary hash, static linking, and stripped symbols,
exercise installer rejection cases, and validate custom-capacity mounts,
maintenance, and recovery with sandboxd on the Linux test node.

Signed-off-by: Tianyu Zhou <albert.zty@antgroup.com>
@tianyuzhou95
tianyuzhou95 force-pushed the codex/chunk-db-capacity branch from e6953f7 to 374c919 Compare September 22, 2026 02:49
Comment thread deploy/akernel/charts/core/values.yaml Resolved
@tianyuzhou95
tianyuzhou95 merged commit bd31a34 into main Sep 22, 2026
10 checks passed
@tianyuzhou95
tianyuzhou95 deleted the codex/chunk-db-capacity branch October 13, 2026 10:57
WenYuLuo added a commit to WenYuLuo/akernel that referenced this pull request Oct 15, 2026
Advance the sandboxd submodule to the official main commit containing
PR inclusionAI#74. Its tracked tree matches the native-runc build used for the
one-shot delete fault validation, preserving the tested runtime behavior.

Signed-off-by: robbluo <luo1442@gmail.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.

2 participants