> For the complete documentation index, see [llms.txt](https://yeasy.gitbook.io/docker_practice/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/15_etcd/summary.md).

# 本章小结

etcd 是 Kubernetes 的核心存储组件，为分布式系统提供可靠的键值存储和服务发现能力。

| 概念          | 要点                               |
| ----------- | -------------------------------- |
| **定位**      | 分布式键值存储系统，用于配置管理和服务发现            |
| **协议**      | 基于 Raft 一致性算法，保证数据强一致            |
| **API**     | 提供 gRPC 和 HTTP API               |
| **集群**      | 建议使用奇数节点（3 或 5 个）部署              |
| **etcdctl** | 命令行管理工具，支持 put/get/del/watch 等操作 |
| **安全**      | 支持 TLS 加密通信和 RBAC 访问控制           |

## 延伸阅读

* [容器编排基础](/docker_practice/di-san-bu-fen-shen-ru-pian/13_kubernetes_concepts.md)：Kubernetes 如何使用 etcd
* [部署 Kubernetes](/docker_practice/di-san-bu-fen-shen-ru-pian/14_kubernetes_setup.md)：在集群中部署 etcd

***

> 📝 **发现错误或有改进建议？** 欢迎提交 [Issue](https://github.com/yeasy/docker_practice/issues) 或 [PR](https://github.com/yeasy/docker_practice/pulls)。
