Skip to content

Commit 3fa8851

Browse files
authored
Merge pull request #32892 from my-git9/replicationcontroller1
[zh] Update replicationcontroller.md
2 parents 0d171a1 + 0c6d37d commit 3fa8851

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/zh/docs/concepts/workloads/controllers/replicationcontroller.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ delete`](/docs/reference/generated/kubectl/kubectl-commands#delete). Kubectl wi
311311
for it to delete each pod before deleting the ReplicationController itself. If this kubectl
312312
command is interrupted, it can be restarted.
313313

314-
When using the REST API or Go client library, you need to do the steps explicitly (scale replicas to
314+
When using the REST API or [client library](/docs/reference/using-api/client-libraries), you need to do the steps explicitly (scale replicas to
315315
0, wait for pod deletions, then delete the ReplicationController).
316316
-->
317317
## 使用 ReplicationController {#working-with-replicationcontrollers}
@@ -323,7 +323,7 @@ When using the REST API or Go client library, you need to do the steps explicitl
323323
kubectl 将 ReplicationController 缩放为 0 并等待以便在删除 ReplicationController 本身之前删除每个 Pod。
324324
如果这个 kubectl 命令被中断,可以重新启动它。
325325

326-
当使用 REST API 或 Go 客户端库时,你需要明确地执行这些步骤(缩放副本为 0、
326+
当使用 REST API 或[客户端库](/zh/docs/reference/using-api/client-libraries)时,你需要明确地执行这些步骤(缩放副本为 0、
327327
等待 Pod 删除,之后删除 ReplicationController 资源)。
328328

329329
<!--
@@ -333,15 +333,15 @@ You can delete a ReplicationController without affecting any of its pods.
333333

334334
Using kubectl, specify the `--cascade=orphan` option to [`kubectl delete`](/docs/reference/generated/kubectl/kubectl-commands#delete).
335335

336-
When using the REST API or Go client library, simply delete the ReplicationController object.
336+
When using the REST API or [client library](/docs/reference/using-api/client-libraries), you can delete the ReplicationController object.
337337
-->
338338
### 只删除 ReplicationController
339339

340340
你可以删除一个 ReplicationController 而不影响它的任何 Pod。
341341

342342
使用 kubectl,为 [`kubectl delete`](/docs/reference/generated/kubectl/kubectl-commands#delete) 指定 `--cascade=orphan` 选项。
343343

344-
当使用 REST API 或 Go 客户端库时,只需删除 ReplicationController 对象。
344+
当使用 REST API 或客户端库(/zh/docs/reference/using-api/client-libraries)时,只需删除 ReplicationController 对象。
345345

346346
<!--
347347
Once the original is deleted, you can create a new ReplicationController to replace it. As long

0 commit comments

Comments
 (0)