Skip to content

fix(deploy): enable Firecracker virtio-fs in cloud templates - #58

Merged
tianyuzhou95 merged 1 commit into
mainfrom
codex/fix-cloud-firecracker-config
Sep 10, 2026
Merged

fix(deploy): enable Firecracker virtio-fs in cloud templates#58
tianyuzhou95 merged 1 commit into
mainfrom
codex/fix-cloud-firecracker-config

Conversation

@tianyuzhou95

Copy link
Copy Markdown
Collaborator

The Aliyun and HuaweiCloud Terraform templates replace the chart's entire node.config.sandboxd.config string. As a result, the Firecracker virtio-fs defaults added in #57 are lost in those deployments, leaving OCI/Nydus directory roots disabled even though the image includes virtiofsd.

Add the same Firecracker section to both templates: enable virtio-fs, select /usr/local/bin/virtiofsd, and set AsyncDirect with Writeback. Preserve the existing storage settings, including Aliyun's native XFS layout with filestore_dir_size unset.

Validation: rendered both templates with Terraform templatefile, passed the generated values through Helm, and parsed the final ConfigMap's TOML with runc both enabled and disabled. All four cases retain the expected Firecracker settings and correct runc registration. Confirmed all other TOML content is unchanged and git diff --check passes. No cloud resources were deployed.

Add the Firecracker runtime section to the Aliyun and HuaweiCloud
Terraform values templates. Their complete sandboxd configuration strings
override the chart defaults, so they must explicitly enable virtio-fs
for OCI and Nydus roots and specify the packaged virtiofsd path.

Keep AsyncDirect and Writeback aligned with the bundled configuration.
Preserve both providers' storage settings, including Aliyun's native XFS
layout with filestore_dir_size unset.

Signed-off-by: Tianyu Zhou <albert.zty@antgroup.com>
@tianyuzhou95
tianyuzhou95 merged commit 770ed20 into main Sep 10, 2026
8 checks passed
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