Skip to content

Commit 9cf7661

Browse files
authored
Merge pull request #32852 from mengjiao-liu/fix-garbage-collection-link
[zh] Fix wrong link in garbage-collection file
2 parents ad23315 + 004ee5e commit 9cf7661

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

content/zh/docs/tasks/administer-cluster/use-cascading-deletion.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ content_type: task
1111
<!--overview-->
1212

1313
<!--
14-
This page shows you how to specify the type of [cascading deletion](/docs/concepts/workloads/controllers/garbage-collection/#cascading-deletion)
14+
This page shows you how to specify the type of
15+
[cascading deletion](/docs/concepts/architecture/garbage-collection/#cascading-deletion)
1516
to use in your cluster during {{<glossary_tooltip text="garbage collection" term_id="garbage-collection">}}.
1617
-->
1718
本页面向你展示如何设置在你的集群执行{{<glossary_tooltip text="垃圾收集" term_id="garbage-collection">}}
18-
时要使用的[级联删除](/zh/docs/concepts/workloads/controllers/garbage-collection/#cascading-deletion)
19+
时要使用的[级联删除](/zh/docs/concepts/architecture/garbage-collection/#cascading-deletion)
1920
类型。
2021

2122
## {{% heading "prerequisites" %}}
@@ -64,14 +65,14 @@ apiVersion: v1
6465
<!--
6566
## Use foreground cascading deletion {#use-foreground-cascading-deletion}
6667
67-
By default, Kubernetes uses [background cascading deletion](/docs/concepts/workloads/controllers/garbage-collection/#background-deletion)
68+
By default, Kubernetes uses [background cascading deletion](/docs/concepts/architecture/garbage-collection/#background-deletion)
6869
to delete dependents of an object. You can switch to foreground cascading deletion
6970
using either `kubectl` or the Kubernetes API, depending on the Kubernetes
7071
version your cluster runs. {{<version-check>}}
7172
-->
7273
## 使用前台级联删除 {#use-foreground-cascading-deletion}
7374

74-
默认情况下,Kubernetes 使用[后台级联删除](/zh/docs/concepts/workloads/controllers/garbage-collection/#background-deletion)
75+
默认情况下,Kubernetes 使用[后台级联删除](/zh/docs/concepts/architecture/garbage-collection/#background-deletion)
7576
以删除依赖某对象的其他对象。取决于你的集群所运行的 Kubernetes 版本,
7677
你可以使用 `kubectl` 或者 Kubernetes API 来切换到前台级联删除。
7778
{{<version-check>}}
@@ -188,7 +189,7 @@ For details, read the [documentation for your Kubernetes version](/docs/home/sup
188189
输出中包含 `foregroundDeletion` {{<glossary_tooltip text="finalizer" term_id="finalizer">}},
189190
类似这样:
190191

191-
```none
192+
```
192193
"kind": "Deployment",
193194
"apiVersion": "apps/v1",
194195
"metadata": {
@@ -528,5 +529,5 @@ kubectl get pods -l app=nginx
528529
-->
529530
* 了解 Kubernetes 中的[属主与依赖](/zh/docs/concepts/overview/working-with-objects/owners-dependents/)
530531
* 了解 Kubernetes [finalizers](/zh/docs/concepts/overview/working-with-objects/finalizers/)
531-
* 了解[垃圾收集](/zh/docs/concepts/workloads/controllers/garbage-collection/).
532+
* 了解[垃圾收集](/zh/docs/concepts/architecture/garbage-collection/).
532533

0 commit comments

Comments
 (0)