This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.12.12. Disabling multicast for a project
12.12.1. 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:
oc annotate netnamespace <namespace> \ netnamespace.network.openshift.io/multicast-enabled-
$ oc annotate netnamespace <namespace> \
1 netnamespace.network.openshift.io/multicast-enabled-
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
- The
namespace
for the project you want to disable multicast for.