×

You can remove a pod from a secondary network. You remove pods from secondary networks to disconnect them from specific network configurations.

Removing a pod from a secondary network

You can remove a pod from a secondary network. You remove pods from secondary networks to disconnect them from specific network configurations.

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.