知识卡片
部署时执行与运行时效果
应用代码部署后处理业务请求;基础设施代码主要在部署过程中执行,产物是实际资源的新状态。因而测试代码成功执行,不等于测试了资源部署后是否正确工作。若代码定义网络,检查生成的数据结构仍不能证明真实流量按预期路由。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 基础设施工具与语言 · 查看原书依据
The basic workflow for infrastructure code is simpler. Developers write and edit code, then deploy it. As shown in Figure 4-2, the code is executed during deployment, not in the runtime environment. Figure 4-2. Infrastructure code executes in the deployment context Executing the infrastructure code creates, modifies, or removes infrastructure resources deployed in the IaaS
参考来源
- 位置:《Infrastructure As Code》第4章《基础设施工具与语言》(来源项目 book-sources,源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch04.html)
- 结论依据:原文对该概念的定义、应用条件与作用机制直接支持上述解释。
- 原始内容:The basic workflow for infrastructure code is simpler. Developers write and edit code, then deploy it. As shown in Figure 4-2, the code is executed during deployment, not in the runtime environment. Figure 4-2. Infrastructure code executes in the deployment context Executing the infrastructure code creates, modifies, or removes infrastructure resources deployed in the IaaS