$ oc delete pod <name> -n <namespace>
You can remove a pod from a secondary network. You remove pods from secondary networks to disconnect them from specific network configurations.
You can remove a pod from a secondary network. You remove pods from secondary networks to disconnect them from specific network configurations.
A secondary network is attached to the pod.
Install the OpenShift CLI (oc).
Log in to the cluster.
Delete the pod by entering the following command:
$ oc delete pod <name> -n <namespace>
where:
<name>Specifies the name of the pod.
<namespace>Specifies the namespace that contains the pod.