# 持续部署 (CD)

> For AI agents: the complete glossary index is at [llms.txt](https://glossary.cncf.io/zh-cn/llms.txt).
> Markdown versions of every glossary page are available by appending `index.md` to the page URL.

## 是什么

持续部署，通常缩写为 CD，通过将已经完成的软件直接部署到生产环境，比[持续交付](https://glossary.cncf.io/zh-cn/continuous-delivery/)更进了一步。持续部署 (CD) 与[持续集成](https://glossary.cncf.io/zh-cn/continuous-integration/)(CI) 一起，通常被称为 CI/CD。 CI 流程测试给定应用程序的修改是否正确，CD 流程自动部署企业测试环境的代码更改到生产环境。

## 解决的问题

发布新的软件版本是一个劳动密集且容易出错的过程。这也是企业不想频繁发布新版本的原因，避免生产事故并减少工程师在正常工作时间之外需要随时响应的时间。传统的软件部署模型使组织陷入了一个恶性循环，即发布软件的过程无法同时满足企业在稳定性和软件迭代速度方面的需求。

## 如何帮助

通过自动化发布周期迫使企业更频繁地发布版本到生产环境，CD 为运维团队完成了 CI 为开发团队所做的事情。具体来说，它迫使运维团队将生产部署中痛苦且容易出错的部分自动化，从而降低整体风险。它还使企业能够更好地接受和适应生产环境变化，从而提高稳定性。

## 相关术语

- [持续集成](https://glossary.cncf.io/zh-cn/continuous-integration/)
- [持续交付](https://glossary.cncf.io/zh-cn/continuous-delivery/)

---

- Canonical URL: https://glossary.cncf.io/zh-cn/continuous-deployment/
- Status: Completed
- 最后编辑 July 22, 2022: ` add tags ` ([2f7798e](https://github.com/cncf/glossary/commit/2f7798e5bed8513ccc6f41b217c37fd2b8f6f724))
- Source: https://github.com/cncf/glossary/blob/main/content/zh-cn/continuous-deployment.md
- License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
