From 63783712e15ff89df650c5f6da5e6276e339c8e0 Mon Sep 17 00:00:00 2001 From: windsonsea Date: Mon, 23 Dec 2024 17:38:57 +0800 Subject: [PATCH] [zh] Add 5 more feature gates --- .../feature-gates/component-flagz.md | 19 +++++++++++++++ .../feature-gates/component-statusz.md | 19 +++++++++++++++ .../feature-gates/pod-level-resources.md | 18 ++++++++++++++ .../scheduler-async-preemption.md | 20 ++++++++++++++++ .../feature-gates/watch-list-client.md | 24 +++++++++++++++++++ 5 files changed, 100 insertions(+) create mode 100644 content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/component-flagz.md create mode 100644 content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/component-statusz.md create mode 100644 content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-level-resources.md create mode 100644 content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/scheduler-async-preemption.md create mode 100644 content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/watch-list-client.md diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/component-flagz.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/component-flagz.md new file mode 100644 index 0000000000000..3f446a16152f1 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/component-flagz.md @@ -0,0 +1,19 @@ +--- +title: ComponentFlagz +content_type: feature_gate +_build: + list: never + render: false + +stages: + - stage: alpha + defaultValue: false + fromVersion: "1.32" +--- + + +启用组件的 flagz 端点。 +更多细节参见 [zpages](/zh-cn/docs/reference/instrumentation/zpages/)。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/component-statusz.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/component-statusz.md new file mode 100644 index 0000000000000..e22faa3df0a80 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/component-statusz.md @@ -0,0 +1,19 @@ +--- +title: ComponentStatusz +content_type: feature_gate +_build: + list: never + render: false + +stages: + - stage: alpha + defaultValue: false + fromVersion: "1.32" +--- + + +启用组件的 statusz 端点。 +更多细节参见 [zpages](/zh-cn/docs/reference/instrumentation/zpages/)。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-level-resources.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-level-resources.md new file mode 100644 index 0000000000000..aa4ad18807830 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-level-resources.md @@ -0,0 +1,18 @@ +--- +title: PodLevelResources +content_type: feature_gate +_build: + list: never + render: false + +stages: + - stage: alpha + defaultValue: false + fromVersion: "1.32" +--- + + +启用 **Pod 级别资源**:能够在 Pod 级别指定资源请求和限制,而不仅仅是针对特定的容器。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/scheduler-async-preemption.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/scheduler-async-preemption.md new file mode 100644 index 0000000000000..9515a528c62e0 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/scheduler-async-preemption.md @@ -0,0 +1,20 @@ +--- +title: SchedulerAsyncPreemption +content_type: feature_gate +_build: + list: never + render: false + +stages: + - stage: alpha + defaultValue: false + fromVersion: "1.32" +--- + + +允许以异步方式在调度器内运行一些与[抢占](/zh-cn/docs/concepts/scheduling-eviction/pod-priority-preemption/)关联的高开销操作。 +异步处理抢占可以降低整体 Pod 调度的延迟。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/watch-list-client.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/watch-list-client.md new file mode 100644 index 0000000000000..077ef2fe0c1d7 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/watch-list-client.md @@ -0,0 +1,24 @@ +--- +title: WatchListClient +content_type: feature_gate +_build: + list: never + render: false + +stages: + - stage: beta + defaultValue: false + fromVersion: "1.30" +--- + + +允许 API 客户端请求数据流,而不是获取完整的列表。 +此功能可以在 `client-go` 中使用,需要在服务器上启用 +[WatchList](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/) +特性。如果服务器不支持 `WatchList`,客户端将自动回退为标准的 list 请求。