Merge pull request #30236 from zwpaper/patch-2

[zh]drop the ServerSideApply disabling part as it is GA
This commit is contained in:
Kubernetes Prow Robot
2021-10-27 19:27:02 -07:00
committed by GitHub
@@ -18,7 +18,7 @@ min-kubernetes-server-version: 1.16
<!-- overview --> <!-- overview -->
{{< feature-state for_k8s_version="v1.16" state="beta" >}} {{< feature-state for_k8s_version="v1.22" state="stable" >}}
<!-- <!--
## Introduction ## Introduction
@@ -616,7 +616,7 @@ is not what the user wants to happen, even temporarily.
然而,这里存在一个竟态: 然而,这里存在一个竟态:
在 HPA 需要调整 `replicas` 之前会有一个时间窗口, 在 HPA 需要调整 `replicas` 之前会有一个时间窗口,
如果在 HPA 写入字段成为所有者之前,用户删除了`replicas` 如果在 HPA 写入字段成为所有者之前,用户删除了`replicas`
那 API 服务器就会把 `replicas` 的值设为1 也就是默认值。 那 API 服务器就会把 `replicas` 的值设为 1 也就是默认值。
这不是用户希望发生的事情,即使是暂时的。 这不是用户希望发生的事情,即使是暂时的。
<!-- <!--
@@ -888,20 +888,3 @@ won't be tracked.
服务器端应用不能正确地跟踪其所有权。 服务器端应用不能正确地跟踪其所有权。
如果你对这样的子资源使用服务器端应用,变更的字段将不会被跟踪。 如果你对这样的子资源使用服务器端应用,变更的字段将不会被跟踪。
{{< /caution >}} {{< /caution >}}
<!--
## Disabling the feature
Server Side Apply is a beta feature, so it is enabled by default. To turn this
[feature gate](/docs/reference/command-line-tools-reference/feature-gates) off,
you need to include the `--feature-gates ServerSideApply=false` flag when
starting `kube-apiserver`. If you have multiple `kube-apiserver` replicas, all
should have the same flag setting.
-->
## 禁用此功能 {#disabling-the-feature}
服务器端应用是一个 Beta 版特性,默认启用。
要关闭此[特性门控](/zh/docs/reference/command-line-tools-reference/feature-gates)
你需要在启动 `kube-apiserver` 时包含参数 `--feature-gates ServerSideApply=false`
如果你有多个 `kube-apiserver` 副本,它们的标志设置应该都相同。