Skip to content

Commit 2335fc1

Browse files
tengqmzacharysarah
authored and
zacharysarah
committed
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 5aae8f8 commit 2335fc1

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

docs/reference/feature-gates.md

+8
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,17 @@ different Kubernetes components.
6161
| `HugePages` | `true` | Beta| 1.10 | |
6262
| `HyperVContainer` | `false` | Alpha | 1.10 | |
6363
| `Initializers` | `false` | Alpha | 1.7 | |
64+
<<<<<<< HEAD
6465
| `KubeletConfigFile` | `false` | Alpha | 1.8 | 1.9 |
6566
| `LocalStorageCapacityIsolation` | `false` | Alpha | 1.7 | 1.9 |
6667
| `LocalStorageCapacityIsolation` | `true` | Beta| 1.10 | |
68+
||||||| merged common ancestors
69+
| `KubeletConfigFile` | `false` | Alpha | 1.8 | |
70+
| `LocalStorageCapacityIsolation` | `false` | Alpha | 1.7 | |
71+
=======
72+
| `KubeletConfigFile` | `false` | Alpha | 1.8 | 1.9 |
73+
| `LocalStorageCapacityIsolation` | `false` | Alpha | 1.7 | |
74+
>>>>>>> Document the removal of the KubeletConfigFile feature gate (#7140)
6775
| `MountContainers` | `false` | Alpha | 1.9 | |
6876
| `MountPropagation` | `false` | Alpha | 1.8 | 1.9 |
6977
| `MountPropagation` | `true` | Beta | 1.10 | |

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

+13
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ For a trick to generate a configuration file from a live node, see
5151

5252
## Start a Kubelet process configured via the config file
5353

54+
<<<<<<< HEAD
5455
Start the Kubelet with the `--config` flag set to the path of the Kubelet's config file.
5556
The Kubelet will then load its config from this file.
5657

@@ -65,6 +66,18 @@ Note that some default values differ between command-line flags and the Kubelet
6566
If `--config` is provided and the values are not specified via the command line, the
6667
defaults for the `KubeletConfiguration` version apply.
6768
In the above example, this version is `kubelet.config.k8s.io/v1beta1`.
69+
||||||| merged common ancestors
70+
Start the Kubelet with the `KubeletConfigFile` feature gate enabled and the
71+
Kubelet's `--init-config-dir` flag set to the location of the directory
72+
containing the `kubelet` file. The Kubelet will then load the parameters defined
73+
by `KubeletConfiguration` from the `kubelet` file, rather than from their
74+
associated command-line flags.
75+
=======
76+
Start the Kubelet with the `--init-config-dir` flag set to the location of the directory
77+
containing the `kubelet` file. The Kubelet will then load the parameters defined
78+
by `KubeletConfiguration` from the `kubelet` file, rather than from their
79+
associated command-line flags.
80+
>>>>>>> Document the removal of the KubeletConfigFile feature gate (#7140)
6881
6982
{% endcapture %}
7083

0 commit comments

Comments
 (0)