# 服务发现

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

## 是什么

服务发现是查找组成服务各个实例的过程。 
服务发现工具持续跟踪构成服务的各种节点或端点。 

## 解决的问题

云原生架构是动态的和不确定的，这意味着它们不断在变化。 
[容器化](https://glossary.cncf.io/zh-cn/containerization/) 的应用程序在其生命周期内可能会多次启动和停止。 
每次这种情况发生时，它都会有一个新地址，任何应用程序想要找到它，都需要一个工具来提供新的地址信息。 

## 如何帮助

服务发现持续跟踪网络中的应用程序，以便在需要时可以找到彼此。 
它提供了一个公共的地方来查找和识别不同服务。 
服务发现引擎是类似数据库的工具，用于存储当前有哪些服务以及如何找到它们。

---

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