$ oc patch network.operator cluster -p '{
"spec": {
"defaultNetwork": {
"ovnKubernetesConfig": {
"routeAdvertisements": "Disabled"
}
}
}
}'
As a cluster administrator, you can disable additional route advertisements for your cluster.
As a cluster administrator, you can disable additional route advertisements for your cluster.
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.
To disable additional routing support, enter the following command:
$ oc patch network.operator cluster -p '{
"spec": {
"defaultNetwork": {
"ovnKubernetesConfig": {
"routeAdvertisements": "Disabled"
}
}
}
}'