Skip to content

Commit 7acb137

Browse files
authored
Merge pull request #25749 from Arhell/sync
[zh] sync kubelet-garbage-collection.md
2 parents dd09ed3 + 369b94c commit 7acb137

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

content/zh/docs/concepts/cluster-administration/kubelet-garbage-collection.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
---
2-
title: 配置 kubelet 垃圾回收策略
2+
title: 容器镜像的垃圾收集
33
content_type: concept
44
weight: 70
55
---
66

77
<!--
8-
title: Configuring kubelet Garbage Collection
8+
title: Garbage collection for container images
99
content_type: concept
1010
weight: 70
1111
-->
1212

1313
<!-- overview -->
1414

1515
<!--
16-
Garbage collection is a helpful function of kubelet that will clean up unused images and unused containers.
17-
Kubelet will perform garbage collection for containers every minute and garbage collection for images every five minutes.
16+
Garbage collection is a helpful function of kubelet that will clean up unused [images](/docs/concepts/containers/#container-images) and unused [containers](/docs/concepts/containers/). Kubelet will perform garbage collection for containers every minute and garbage collection for images every five minutes.
1817
1918
External garbage collection tools are not recommended as these tools can potentially break the behavior of kubelet by removing containers expected to exist.
2019
-->
2120

22-
垃圾回收是 kubelet 的一个有用功能,它将清理未使用的镜像和容器
21+
垃圾回收是 kubelet 的一个有用功能,它将清理未使用的[镜像](/zh/docs/concepts/containers/#container-images)[容器](/zh/docs/concepts/containers/)
2322
Kubelet 将每分钟对容器执行一次垃圾回收,每五分钟对镜像执行一次垃圾回收。
2423

2524
不建议使用外部垃圾收集工具,因为这些工具可能会删除原本期望存在的容器进而破坏 kubelet 的行为。

0 commit comments

Comments
 (0)