Skip to content

Commit 9768237

Browse files
authored
Update garbage-collection.md
The documentation about the feature gate and option field "ImageMaximumGCAge" is misleading. The option field for the kubelet configuration is camelCase and needs to start with a lowercase "i" instead of an uppercase "I" (like for the feature gate option).
1 parent 450e619 commit 9768237

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/en/docs/concepts/architecture/garbage-collection.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ regardless of disk usage. This is a kubelet setting that you configure for each
146146

147147
To configure the setting, enable the `ImageMaximumGCAge`
148148
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) for the kubelet,
149-
and also set a value for the `ImageMaximumGCAge` field in the kubelet configuration file.
149+
and also set a value for the `imageMaximumGCAge` field in the kubelet configuration file.
150150

151151
The value is specified as a Kubernetes _duration_;
152-
Valid time units for the `ImageMaximumGCAge` field in the kubelet configuration file are:
152+
Valid time units for the `imageMaximumGCAge` field in the kubelet configuration file are:
153153
- "ns" for nanoseconds
154154
- "us" or "µs" for microseconds
155155
- "ms" for milliseconds
@@ -163,7 +163,7 @@ which means 12 hours and 45 minutes.
163163
{{< note >}}
164164
This feature does not track image usage across kubelet restarts. If the kubelet
165165
is restarted, the tracked image age is reset, causing the kubelet to wait the full
166-
`ImageMaximumGCAge` duration before qualifying images for garbage collection
166+
`imageMaximumGCAge` duration before qualifying images for garbage collection
167167
based on image age.
168168
{{< /note>}}
169169

@@ -208,4 +208,4 @@ configure garbage collection:
208208

209209
* Learn more about [ownership of Kubernetes objects](/docs/concepts/overview/working-with-objects/owners-dependents/).
210210
* Learn more about Kubernetes [finalizers](/docs/concepts/overview/working-with-objects/finalizers/).
211-
* Learn about the [TTL controller](/docs/concepts/workloads/controllers/ttlafterfinished/) that cleans up finished Jobs.
211+
* Learn about the [TTL controller](/docs/concepts/workloads/controllers/ttlafterfinished/) that cleans up finished Jobs.

0 commit comments

Comments
 (0)