1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/nw-route-advertisements-enable.adoc

34 lines
940 B
Plaintext

// Module included in the following assemblies:
//
// * networking/route_advertisements/enabling-route-advertisements.adoc
:_mod-docs-content-type: PROCEDURE
[id="nw-route-advertisements-enable_{context}"]
= Enabling route advertisements
As a cluster administrator, you can enable additional routing support for your cluster.
.Prerequisites
* You have installed the {oc-first}.
* You are logged in to the cluster as a user with the `cluster-admin` role.
* The cluster is installed on compatible infrastructure.
.Procedure
* To enable a routing provider and additional route advertisements, enter the following command:
+
[source,terminal]
----
$ oc patch Network.operator.openshift.io cluster --type=merge \
-p='{
"spec": {
"additionalRoutingCapabilities": {
"providers": ["FRR"]
},
"defaultNetwork": {
"ovnKubernetesConfig": {
"routeAdvertisements": "Enabled"
}}}}'
----