×

As a cluster administrator, you can disable additional route advertisements for your cluster.

Disabling route advertisements

As a cluster administrator, you can disable additional route advertisements for your cluster.

Prerequisites
  • You have installed the OpenShift CLI (oc).

  • You are logged in to the cluster as a user with the cluster-admin role.

  • The cluster is installed on compatible infrastructure.

Procedure
  • To disable additional routing support, enter the following command:

    $ oc patch network.operator cluster -p '{
      "spec": {
        "defaultNetwork": {
          "ovnKubernetesConfig": {
            "routeAdvertisements": "Disabled"
          }
        }
      }
    }'