知识卡片
代码雪花积累环境漂移
代码雪花为本应一致的每个基础设施实例维护独立代码副本。复制能快速建立新环境,也隔开部署影响,却迫使修复逐份传播,遗漏和局部定制会持续积累差异。真正需求不同的独立项目不必强行一致;对实质副本,应复用同一栈定义,以配置表达合理差别。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 设计可部署的基础设施栈 · 查看原书依据
The Snowflakes as Code antipattern, depicted in Figure 7-8, uses a separate stack source code project for each instance of infrastructure, even when the instances are intended to act as replicas of the same resources. Figure 7-8. Snowflakes as Code use a separate copy of the stack project code for each instance This example shows
参考来源
- 位置:《Infrastructure As Code》第7章《设计可部署的基础设施栈》(来源项目 book-sources,源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch07.html)
- 结论依据:原文对该概念的定义、应用条件与作用机制直接支持上述解释。
- 原始内容:The Snowflakes as Code antipattern, depicted in Figure 7-8, uses a separate stack source code project for each instance of infrastructure, even when the instances are intended to act as replicas of the same resources. Figure 7-8. Snowflakes as Code use a separate copy of the stack project code for each instance This example shows