Merge pull request #48030 from ayushpatil2122/patch-11

Update garbage-collection.md
This commit is contained in:
Kubernetes Prow Robot 2024-12-10 03:24:02 +00:00 committed by GitHub
commit a1deec848c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ downgrade `MaxPerPodContainer` to `1` and evict the oldest containers.
Additionally, containers owned by pods that have been deleted are removed once Additionally, containers owned by pods that have been deleted are removed once
they are older than `MinAge`. they are older than `MinAge`.
--> -->
除以上变量之外kubelet 还会垃圾收集除无标识的以及已删除的容器,通常从最未使用的容器开始。 除以上变量之外kubelet 还会垃圾收集除无标识的以及已删除的容器,通常从最长时间未使用的容器开始。
当保持每个 Pod 的最大数量的容器(`MaxPerPodContainer`)会使得全局的已死亡容器个数超出上限 当保持每个 Pod 的最大数量的容器(`MaxPerPodContainer`)会使得全局的已死亡容器个数超出上限
`MaxContainers`)时,`MaxPerPodContainer` 和 `MaxContainers` 之间可能会出现冲突。 `MaxContainers`)时,`MaxPerPodContainer` 和 `MaxContainers` 之间可能会出现冲突。