Skip to content

Commit

Permalink
Update KubernetesComponents.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BinL233 authored Jun 27, 2023
1 parent 2d423cd commit 613ed9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes/KubernetesComponents.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

![v2](images/etcdv2.png)

- v2 是内存实现的
- v2 的持久化是通过将内存复制一份写成JSON文件,写入磁盘得到的
- 通过 EventHistory 查看历史 event(查看 index 在 waitIndex 到 currentIndex 的 event 列表, 但是 EventHistory 最长为1000。)
- currnetIndex 每次更变会 +1 (全局变量)
- 过期时间只能设置在key上面,保证多个key生命周期一致比较困难
Expand Down Expand Up @@ -163,4 +163,4 @@

## 参考文档
1. https://kubernetes.feisky.xyz/concepts/components/
2. https://kubernetes.io/zh-cn/docs/home/
2. https://kubernetes.io/zh-cn/docs/home/

0 comments on commit 613ed9e

Please sign in to comment.