mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 09:46:53 +01:00
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * networking/openshift_sdn/disabling-multicast.adoc
|
|
// * networking/ovn_kubernetes_network_provider/disabling-multicast.adoc
|
|
|
|
ifeval::["{context}" == "openshift-sdn-disabling-multicast"]
|
|
:namespace: netnamespace
|
|
:annotation: netnamespace.network.openshift.io/multicast-enabled-
|
|
endif::[]
|
|
ifeval::["{context}" == "ovn-kubernetes-disabling-multicast"]
|
|
:namespace: namespace
|
|
:annotation: k8s.ovn.org/multicast-enabled-
|
|
endif::[]
|
|
|
|
[id="nw-disabling-multicast_{context}"]
|
|
= Disabling multicast between pods
|
|
|
|
You can disable multicast between pods for your project.
|
|
|
|
.Prerequisites
|
|
|
|
* Install the OpenShift CLI (`oc`).
|
|
* You must log in to the cluster with a user that has the `cluster-admin` role.
|
|
|
|
.Procedure
|
|
|
|
* Disable multicast by running the following command:
|
|
+
|
|
[source,terminal,subs="attributes+"]
|
|
----
|
|
$ oc annotate {namespace} <namespace> \ <1>
|
|
{annotation}
|
|
----
|
|
+
|
|
<1> The `namespace` for the project you want to disable multicast for.
|
|
|
|
ifeval::["{context}" == "openshift-sdn-disabling-multicast"]
|
|
:!annotation:
|
|
:!namespace:
|
|
endif::[]
|
|
ifeval::["{context}" == "ovn-kubernetes-disabling-multicast"]
|
|
:!annotation:
|
|
:!namespace:
|
|
endif::[]
|