Move model storage to the /mnt directory on both the host and the Kin… #792
+122
−21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Move model storage to /mnt directory to prevent disk space issues
Summary
This PR addresses disk space issues in CI/CD workflows by moving model downloads from the root filesystem (~14GB available) to the
/mntdirectory (~75GB available). This prevents "no space left on device" errors when downloading large models during CI runs.Problem
GitHub Actions runners were experiencing disk space exhaustion when downloading large models. The root filesystem (
/) has only ~14GB available, which is insufficient for model downloads that can reach several GB. The previous workaround of deleting toolchains (~25GB) was:Solution
This PR implements a comprehensive solution that works for both host-level workflows and Kind cluster-based tests:
Host-level workflows (
test-and-build.yml,integration-test-docker.yml):/mnt/modelsdirectorymodels/directory to/mnt/modelsif presentmodels/to/mnt/models/for backward compatibility/mntdisk (~75GB)Kind cluster workflows (
integration-test-k8s.yml):/mntinto Kind nodes (control-plane and worker)local-path-provisionerConfigMap to use/mnt/local-path-provisionerinstead of/tmpChanges
Files Modified
.github/workflows/test-and-build.yml(+38 lines).github/workflows/integration-test-docker.yml(+45 lines, -11 lines).github/workflows/integration-test-k8s.yml(-11 lines)e2e/pkg/cluster/kind.go(+49 lines, -2 lines)/mntmount for control-plane and worker nodeslocal-path-configConfigMap to use/mnt/local-path-provisionerlocal-path-provisionerdeployment after patchingTechnical Details
Host-Level Implementation
The symlink approach ensures backward compatibility - existing code continues to work without changes:
models/ -> /mnt/models/Kind Cluster Implementation
/mntat container path/mntlocal-path-provisioneris patched to use/mnt/local-path-provisioneras the base pathTesting
Validation Performed
Benefits
Related Issues
Addresses disk space issues mentioned in PR #623 (follow-up improvement requested by @rootfs)