Skip to content

Commit 8f0e7e2

Browse files
qlijintengqm
andcommitted
[zh-cn] sync consistent-list-from-cache.md
Co-authored-by: Qiming Teng <[email protected]>
1 parent cd65fa2 commit 8f0e7e2

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/consistent-list-from-cache.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,27 @@ stages:
99
- stage: alpha
1010
defaultValue: false
1111
fromVersion: "1.28"
12+
toVersion: "1.30"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.31"
1216
---
1317
<!--
14-
Allow the API server to serve consistent lists from cache.
18+
Enhance Kubernetes API server performance by serving consistent **list** requests
19+
directly from its watch cache, improving scalability and response times.
20+
To consistent list from cache Kubernetes requires a newer etcd version (v3.4.31+ or v3.5.13+),
21+
that includes fixes to watch progress request feature.
22+
If older etcd version is provided Kubernetes will automatically detect it and fallback to serving consistent reads from etcd.
23+
Progress notifications ensure watch cache is consistent with etcd while reducing
24+
the need for resource-intensive quorum reads from etcd.
25+
26+
See the Kubernetes documentation on [Semantics for **get** and **list**](/docs/reference/using-api/api-concepts/#semantics-for-get-and-list) for more details.
1527
-->
16-
允许 API 服务器从缓存中提供一致的 list 操作。
28+
通过直接使用监视缓存来为 **list** 请求提供一致性的数据,提升 Kubernetes API 服务器的性能,
29+
从而改善可扩展性和响应时间。为了从缓存获取一致的列表,Kubernetes 需要使用较新的
30+
Etcd 版本(v3.4.31+ 或 v3.5.13+),这些版本包含了对监视进度请求特性的修复。
31+
如果使用较旧的 Etcd 版本,Kubernetes 会自动检测到并回退到从 Etcd 提供一致的读取操作。
32+
进度通知能够确保监视缓存与 Etcd 保持一致,同时减少对 Etcd 进行资源密集型仲裁读取的需求。
33+
34+
更多细节请参阅 Kubernetes 文档
35+
[**get****list** 语义](/zh-cn/docs/reference/using-api/api-concepts/#semantics-for-get-and-list)

0 commit comments

Comments
 (0)