Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions modules/nw-operator-cr.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,22 @@ ifeval::["{context}" == "installing-gcp-network-customizations"]
:ovn-preview:
endif::[]

ifeval::["{context}" == "post-install-network-configuration"]
:post-install-network-configuration:
endif::[]

[id="nw-operator-cr_{context}"]
= Cluster Network Operator configuration

The configuration for the cluster network is specified as part of the Cluster Network Operator (CNO) configuration and stored in a CR object that is named `cluster`. The CR specifies the parameters for the `Network` API in the `operator.openshift.io` API group.

ifdef::post-install-network-configuration[]
[NOTE]
====
After cluster installation, you cannot modify the configuration for the cluster network provider.
====
endif::post-install-network-configuration[]
ifndef::post-install-network-configuration[]
You can specify the cluster network configuration for your {product-title} cluster by setting the parameter values for the `defaultNetwork` parameter in the CNO CR. The following CR displays the default configuration for the CNO and explains both the parameters you can configure and the valid parameter values:

.Cluster Network Operator CR
Expand Down Expand Up @@ -252,6 +263,7 @@ spec:
iptables-min-sync-period:
- 0s
----
endif::post-install-network-configuration[]

ifeval::["{context}" == "cluster-network-operator"]
:!operator:
Expand All @@ -270,3 +282,7 @@ endif::[]
ifeval::["{context}" == "installing-gcp-network-customizations"]
:!ovn-preview:
endif::[]

ifdef::post-install-network-configuration[]
:!post-install-network-configuration:
endif::[]