$ oc delete pod <name> -n <namespace>
As a cluster user you can remove a pod from a secondary network.
You can remove a pod from a secondary network only by deleting the pod.
A secondary network is attached to the pod.
Install the OpenShift CLI (oc
).
Log in to the cluster.
To delete the pod, enter the following command:
$ oc delete pod <name> -n <namespace>
<name>
is the name of the pod.
<namespace>
is the namespace that contains the pod.