Disabling multicast for a project

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:

    1. $ oc annotate namespace <namespace> \ (1)
    2. k8s.ovn.org/multicast-enabled-
    1The namespace for the project you want to disable multicast for.

    You can alternatively apply the following YAML to delete the annotation:

    1. apiVersion: v1
    2. kind: Namespace
    3. metadata:
    4. name: <namespace>
    5. annotations:
    6. k8s.ovn.org/multicast-enabled: null