Skip to content

Commit 4793ac1

Browse files
authored
Merge pull request #31181 from tengqm/fix-gc
Fix nits in the garbage collection page
2 parents b7ac7ee + 757915a commit 4793ac1

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
@@ -137,7 +137,7 @@ collection, which deletes images in order based on the last time they were used,
137137
starting with the oldest first. The kubelet deletes images
138138
until disk usage reaches the `LowThresholdPercent` value.
139139

140-
### Container image garbage collection {#container-image-garbage-collection}
140+
### Container garbage collection {#container-image-garbage-collection}
141141

142142
The kubelet garbage collects unused containers based on the following variables,
143143
which you can define:
@@ -152,11 +152,11 @@ which you can define:
152152
In addition to these variables, the kubelet garbage collects unidentified and
153153
deleted containers, typically starting with the oldest first.
154154

155-
`MaxPerPodContainer` and `MaxContainer` may potentially conflict with each other
155+
`MaxPerPodContainer` and `MaxContainers` may potentially conflict with each other
156156
in situations where retaining the maximum number of containers per Pod
157157
(`MaxPerPodContainer`) would go outside the allowable total of global dead
158158
containers (`MaxContainers`). In this situation, the kubelet adjusts
159-
`MaxPodPerContainer` to address the conflict. A worst-case scenario would be to
159+
`MaxPerPodContainer` to address the conflict. A worst-case scenario would be to
160160
downgrade `MaxPerPodContainer` to `1` and evict the oldest containers.
161161
Additionally, containers owned by pods that have been deleted are removed once
162162
they are older than `MinAge`.
@@ -180,4 +180,4 @@ configure garbage collection:
180180

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

0 commit comments

Comments
 (0)