File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/en/docs/concepts/workloads/controllers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ delete`](/docs/reference/generated/kubectl/kubectl-commands#delete). Kubectl wi
185
185
for it to delete each pod before deleting the ReplicationController itself. If this kubectl
186
186
command is interrupted, it can be restarted.
187
187
188
- When using the REST API or Go client library, you need to do the steps explicitly (scale replicas to
188
+ When using the REST API or [ client library] ( /docs/reference/using-api/client-libraries ) , you need to do the steps explicitly (scale replicas to
189
189
0, wait for pod deletions, then delete the ReplicationController).
190
190
191
191
### Deleting only a ReplicationController
@@ -194,7 +194,7 @@ You can delete a ReplicationController without affecting any of its pods.
194
194
195
195
Using kubectl, specify the ` --cascade=orphan ` option to [ ` kubectl delete ` ] ( /docs/reference/generated/kubectl/kubectl-commands#delete ) .
196
196
197
- When using the REST API or Go client library, you can delete the ReplicationController object.
197
+ When using the REST API or [ client library] ( /docs/reference/using-api/client-libraries ) , you can delete the ReplicationController object.
198
198
199
199
Once the original is deleted, you can create a new ReplicationController to replace it. As long
200
200
as the old and new ` .spec.selector ` are the same, then the new one will adopt the old pods.
You can’t perform that action at this time.
0 commit comments