Skip to content

Commit bc00407

Browse files
tengqmk8s-ci-robot
authored andcommitted
Document the removal of the KubeletConfigFile feature gate (#7140)
With kubernetes/kubernetes#58978 merged, the said feature gate is removed. This PR removes texts related to the gate and revises the Feature Gates reference to reflect this change.
1 parent aeda749 commit bc00407

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

cn/docs/tasks/administer-cluster/kubelet-config-file.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ title: 通过配置文件设置 Kubelet 参数
4545
## 启动通过配置文件配置的 Kubelet 进程
4646

4747

48-
启动 Kubelet,需要打开 `KubeletConfigFile` 特性开关(feature gate)并将其 `--init-config-dir` 标志设置为包含 `kubelet` 文件的文件夹路径。Kubelet 将从 `kubelet` 文件中读取由 `KubeletConfiguration` 定义的参数,而不是从参数相关的命令行标志中读取。
48+
启动 Kubelet 需要将其 `--init-config-dir` 标志设置为包含 `kubelet` 文件的文件夹路径。Kubelet 将从 `kubelet` 文件中读取由 `KubeletConfiguration` 定义的参数,而不是从参数相关的命令行标志中读取。
4949

5050
{% endcapture %}
5151

docs/reference/feature-gates.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ different Kubernetes components.
5252
| `ExperimentalHostUserNamespaceDefaulting` | `false` | Beta | 1.5 | |
5353
| `HugePages` | `false` | Alpha | 1.8 | |
5454
| `Initializers` | `false` | Alpha | 1.7 | |
55-
| `KubeletConfigFile` | `false` | Alpha | 1.8 | |
55+
| `KubeletConfigFile` | `false` | Alpha | 1.8 | 1.9 |
5656
| `LocalStorageCapacityIsolation` | `false` | Alpha | 1.7 | |
5757
| `MountContainers` | `false` | Alpha | 1.9 | |
5858
| `MountPropagation` | `false` | Alpha | 1.8 | |

docs/tasks/administer-cluster/kubelet-config-file.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ For a trick to generate a configuration file from a live node, see
4141

4242
## Start a Kubelet process configured via the config file
4343

44-
Start the Kubelet with the `KubeletConfigFile` feature gate enabled and the
45-
Kubelet's `--init-config-dir` flag set to the location of the directory
44+
Start the Kubelet with the `--init-config-dir` flag set to the location of the directory
4645
containing the `kubelet` file. The Kubelet will then load the parameters defined
4746
by `KubeletConfiguration` from the `kubelet` file, rather than from their
4847
associated command-line flags.

0 commit comments

Comments
 (0)