# 集群

> 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.

## 是什么

集群是一组计算机或应用程序，它们为一个共同的目标一起工作。
在云原生计算的背景下，这个术语最常被应用于 Kubernetes。
Kubernetes 集群是一组服务（或工作负载），它们在各自的容器中运行，通常在不同的机器上。
所有这些 [容器化](https://glossary.cncf.io/zh-cn/containerization/) 服务的集合，通过网络连接，代表一个集群。

## 解决的问题

在单台计算机上运行的软件会出现单点故障——如果这台计算机崩溃了，或者有人不小心拔掉了电源线，那么一些关键的业务系统就可能被下线。
这就是为什么现代软件通常被构建为 [分布式应用](https://glossary.cncf.io/zh-cn/distributed-apps/)，以集群的形式组合在一起。

## 如何帮助

集群式的分布式应用在多台机器上运行，消除了单点故障。但构建分布式系统真的很难，事实上，它本身就是一门计算机科学的学科。
对全球系统的需求和多年的试验和错误导致了一种新的技术栈的发展：[云原生技术](https://glossary.cncf.io/zh-cn/cloud-native-tech/)，这些新技术是使分布式系统的操作和创建更容易的构件。

---

- Canonical URL: https://glossary.cncf.io/zh-cn/cluster/
- 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/cluster.md
- License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
