From 93e3e3853a257b11811dc9ae512395ec2ac69e36 Mon Sep 17 00:00:00 2001 From: Matthias Bastian Date: Mon, 17 Jul 2023 10:27:23 +0200 Subject: [PATCH] This change is limited to the zh-cn localization. sync garbage-collection components feature-gates-removed feature-gates guaranteed-scheduling-critical-addon-pods --- .../zh-cn/docs/concepts/architecture/garbage-collection.md | 2 -- content/zh-cn/docs/concepts/overview/components.md | 7 +++++-- .../command-line-tools-reference/feature-gates-removed.md | 3 +-- .../guaranteed-scheduling-critical-addon-pods.md | 2 +- .../custom-resources/custom-resource-definitions.md | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/content/zh-cn/docs/concepts/architecture/garbage-collection.md b/content/zh-cn/docs/concepts/architecture/garbage-collection.md index 6fe985ffa2..50d9ac94cd 100644 --- a/content/zh-cn/docs/concepts/architecture/garbage-collection.md +++ b/content/zh-cn/docs/concepts/architecture/garbage-collection.md @@ -344,8 +344,6 @@ configure garbage collection: * [配置 Kubernetes 对象的级联删除](/zh-cn/docs/tasks/administer-cluster/use-cascading-deletion/) * [配置已完成 Job 的清理](/zh-cn/docs/concepts/workloads/controllers/ttlafterfinished/) - - ## {{% heading "whatsnext" %}} -这些控制器包括: +有许多不同类型的控制器。以下是一些例子: * 节点控制器(Node Controller):负责在节点出现故障时进行通知和响应 * 任务控制器(Job Controller):监测代表一次性任务的 Job 对象,然后创建 Pods 来运行这些任务直至完成 * 端点分片控制器(EndpointSlice controller):填充端点分片(EndpointSlice)对象(以提供 Service 和 Pod 之间的链接)。 * 服务账号控制器(ServiceAccount controller):为新的命名空间创建默认的服务账号(ServiceAccount)。 +以上并不是一个详尽的列表。 注意,把某个 Pod 标记为关键 Pod 并不意味着完全避免该 Pod 被逐出;它只能防止该 Pod 变成永久不可用。 被标记为关键性的静态 Pod 不会被逐出。但是,被标记为关键性的非静态 Pod 总是会被重新调度。 diff --git a/content/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md b/content/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md index 62041dac59..782495ba1b 100644 --- a/content/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md +++ b/content/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md @@ -2531,7 +2531,7 @@ To enable the scale subresource, the following fields are defined in the CustomR `Scale.Status.Selector`. - It is an optional value. - - It must be set to work with HPA. + - It must be set to work with HPA and VPA. - Only JSONPaths under `.status` or `.spec` and with the dot notation are allowed. - If there is no value under the `labelSelectorPath` in the custom resource, the status selector value in the `/scale` subresource will default to the empty string. @@ -2541,7 +2541,7 @@ To enable the scale subresource, the following fields are defined in the CustomR - `labelSelectorPath` 指定定制资源内与 `Scale.Status.Selector` 对应的 JSON 路径。 - 此字段为可选值。 - - 此字段必须设置才能使用 HPA。 + - 此字段必须设置才能使用 HPA 和 VPA。 - 只可以使用 `.status` 或 `.spec` 下的 JSON 路径,只可使用带句点的路径。 - 如果定制资源的 `labelSelectorPath` 下没有取值,则针对 `/scale` 子资源的选择算符状态值默认为空字符串。