1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/nw-multus-remove-pod.adoc

34 lines
932 B
Plaintext

// Module included in the following assemblies:
//
// * networking/multiple_networks/removing-pod.adoc
// * microshift_networking/microshift_multiple_networks/microshift-cni-multus-using.adoc
:_mod-docs-content-type: PROCEDURE
[id="nw-multus-remove-pod_{context}"]
= Removing a pod from a secondary network
[role="_abstract"]
To disconnect a pod from specific network configurations in {product-title}, 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:
+
[source,terminal]
----
$ oc delete pod <name> -n <namespace>
----
+
--
where:
`<name>`:: Specifies the name of the pod.
`<namespace>`:: Specifies the namespace that contains the pod.
--