Skip to content

Commit 160690c

Browse files
authored
Merge pull request #46360 from sohankunkerkar/fix-drop-in-dir-docs
[main] Fix drop-in dir logic explaination
2 parents 069d37e + e823cf9 commit 160690c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,10 @@ The suffix of a valid kubelet drop-in configuration file **must** be `.conf`. Fo
115115
The kubelet processes files in its config drop-in directory by sorting the **entire file name** alphanumerically.
116116
For instance, `00-kubelet.conf` is processed first, and then overridden with a file named `01-kubelet.conf`.
117117

118-
These files may contain partial configurations and might not be valid config files by themselves.
119-
Validation is only performed on the final resulting configuration structure
120-
stored internally in the kubelet.
121-
This offers you flexibility in how you manage and combine kubelet configuration that comes from different sources.
122-
However, it's important to note that the behavior varies based on the data type of the configuration fields.
118+
These files may contain partial configurations but should not be invalid and must include type metadata, specifically `apiVersion` and `kind`.
119+
Validation is only performed on the final resulting configuration structure stored internally in the kubelet.
120+
This offers flexibility in managing and merging kubelet configurations from different sources while preventing undesirable configurations.
121+
However, it is important to note that behavior varies based on the data type of the configuration fields.
123122

124123
Different data types in the kubelet configuration structure merge differently. See the
125124
[reference document](/docs/reference/node/kubelet-config-directory-merging.md)

0 commit comments

Comments
 (0)