知识卡片
扩展收缩分三步迁移
扩展收缩先新增资源但不使用,再切换消费者,确认稳定后删除旧资源。每一步分别提交、通过同一流水线和测试;旧资源仍在时可迅速切回。它不依赖可编辑状态文件,用额外资源和多次发布换取更少手工手术及可控迁移风险。
结构图:
flowchart TD
A[新增新资源并验证] --> B[切换消费者并验证]
B --> C[确认生产稳定]
C --> D[删除旧资源]
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 变更既有基础设施 · 查看原书依据
The Expand and Contract technique, also called Parallel Change, makes a change in three steps. The first step adds the new resource, the second step changes usage from the old resource to the new one, and the third step removes the old resource. Each step
参考来源
- 位置:《Infrastructure As Code》第20章《变更既有基础设施》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch20.html)
- 结论依据:原文在该段定义概念并解释相关过程或限制,支撑“扩展收缩先新增资源但不使用,再切换消费者,确认稳定后删除旧资源”这一核心结论;正文的用途与边界据同小节后续论述整理。
- 原始内容:The Expand and Contract technique, also called Parallel Change, makes a change in three steps. The first step adds the new resource, the second step changes usage from the old resource to the new one, and the third step removes the old resource. Each step