This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.10.3. Removing a pod from an additional network
As a cluster user you can remove a pod from an additional network.
10.3.1. Removing a pod from an additional network 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
You can remove a pod from an additional network only by deleting the pod.
Prerequisites
- An additional network is attached to the pod.
-
Install the OpenShift CLI (
oc
). - Log in to the cluster.
Procedure
To delete the pod, enter the following command:
oc delete pod <name> -n <namespace>
$ oc delete pod <name> -n <namespace>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
<name>
is the name of the pod. -
<namespace>
is the namespace that contains the pod.
-