This is a cache of https://docs.okd.io/latest/networking/multiple_networks/secondary_networks/removing-pod.html. It is a snapshot of the page at 2026-01-17T18:32:50.284+0000.
Removing a pod from an additional network - Multiple networks | Networking | OKD 4
×

To disconnect a pod from specific network configurations in OKD, you can remove the pod from a secondary network. Delete the pod to remove its connection to the secondary network.

Removing a pod from a secondary network

To disconnect a pod from specific network configurations in OKD, you can remove the pod from a secondary network. Delete the pod using the oc delete pod command to remove its connection to the secondary network.

Prerequisites
  • A secondary network is attached to the pod.

  • Install the OpenShift CLI (oc).

  • Log in to the cluster.

Procedure
  • 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.