Removing a pod from an additional network

As a cluster user you can remove a pod from an additional network.

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:

    1. $ oc delete pod <name> -n <namespace>
    • <name> is the name of the pod.

    • <namespace> is the namespace that contains the pod.