Simplify deployment: unify dstack and meta-dstack workflows
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- github, shell
- 领域
- devops, infrastructure
调研方向
首先阅读 kms/dstack-app/deploy-simple.sh 和 deploy-to-vmm.sh,然后将它们的输入与 meta-dstack's build.sh 的 hostcfg 和 dl 工作流进行比较。当部署入口点、目录布局、guest-image 获取方式以及 development 和 production 路径按描述统一,同时从源代码构建 OS image 仍为可选项时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Problem
Setting up dstack currently requires understanding two repositories with different workflows:
1. Two repos required for basic deployment
- meta-dstack: Config generation (
build.sh hostcfg) and image download (build.sh dl) - dstack: Components and deploy scripts (
kms/dstack-app/deploy-*.sh)
New users must clone both repos and understand their relationship.
2. Inconsistent paths between dev and production
| Task | Dev Deployment | Production Deployment |
|---|---|---|
| Get guest image | ../build.sh dl 0.5.5 |
Direct GitHub release download |
| Generate configs | ../build.sh hostcfg |
Manual or embedded in compose |
| Deploy KMS | Run binary on host | kms/dstack-app/deploy-*.sh |
Same artifacts, different acquisition paths.
3. Deploy scripts in unexpected location
kms/dstack-app/deploy-simple.shanddeploy-to-vmm.shdeploy to VMM- These aren't KMS-specific—they're general CVM deployment scripts
- Expected location would be top-level
deploy/or similar
4. Guest image acquisition differs
- Dev: Requires meta-dstack checkout, then
../build.sh dl - Prod: Direct download from
https://github.com/Dstack-TEE/meta-dstack/releases
Both get the same tarball via different paths.
Impact
- Steeper learning curve for new operators
- Documentation must explain two different workflows
- Easy to get confused about which repo/script to use
- Friction when switching between dev and production setups
Suggested Direction
- Single entry point for deployment (no meta-dstack required for normal use)
- Unified
deploy/directory structure in dstack repo - meta-dstack becomes optional (only needed for building OS image from source)
- Config templates with sensible defaults
This is a tracking issue for discussion. Implementation would be a larger effort.
- 主要语言
- Rust
- 星标
- 551
- 派生
- 97
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 182
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Dstack-TEE/dstack 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
Dstack-TEE/dstack#1384 ·
-
难度 5/5 一周以上 新手友好度 30/100
Dstack-TEE/dstack#1301 ·
-
难度 3/5 1-2 天 新手友好度 55/100
Dstack-TEE/dstack#1300 ·
-
难度 4/5 3-5 天 新手友好度 48/100
Dstack-TEE/dstack#1299 ·
-
难度 4/5 3-5 天 新手友好度 48/100
Dstack-TEE/dstack#1298 ·
查看 Dstack-TEE/dstack 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
nautechsystems/nautilus_trader#5095 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 78/100
stellar/rs-soroban-env#1739 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bug good first issue package: quic
难度 2/5 1-3 小时 新手友好度 78/100