知识卡片
声明式部署仍需保护数据
GitOps把启动系统所需配置纳入版本控制,测试环境验证过的补丁可复用,减少手工输入错误,也便于启动平行副本。它解决可重复部署,并不自动保全切换中的数据库状态;应用实例和持久数据要分别设计恢复边界。不能把代码回退成功等同数据库格式和已发生写入都可撤回。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 构建稳定系统 · 查看原书依据
Another powerful tool is GitOps, which keeps all information required to boot up the system in a version-controlled repository (e.g., Git). Often, you can apply the same patch you applied to a test setup to the production GitOps repository, reducing the chance of typos.
参考来源
- 位置:《Software Architecture and Decision-Making》第12章《Building Stable Systems》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch12.xhtml)
- 结论依据:摘录说明GitOps把启动系统所需配置纳入版本控制,测试环境验证过的补丁可复用,减少手工输入错误,也便于启动平行副本。其余条件结合本章相邻例子与取舍说明,数字示例不作当前性能承诺。
- 原始内容:Another powerful tool is GitOps, which keeps all information required to boot up the system in a version-controlled repository (e.g., Git). Often, you can apply the same patch you applied to a test setup to the production GitOps repository, reducing the chance of typos.