You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/nw-operator-cr.adoc
+9-38Lines changed: 9 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ endif::[]
42
42
43
43
The configuration for the cluster network is specified as part of the Cluster Network Operator (CNO) configuration and stored in a custom resource (CR) object that is named `cluster`. The CR specifies the fields for the `Network` API in the `operator.openshift.io` API group.
44
44
45
-
The CNO configuration inherits the following fields during cluster installation from the `Network` API in the `Network.config.openshift.io` API group and these fields cannot be changed:
45
+
The CNO configuration inherits the following fields during cluster installation from the `Network` API in the `Network.config.openshift.io` API group:
46
46
47
47
`clusterNetwork`:: IP address pools from which pod IP addresses are allocated.
48
48
`serviceNetwork`:: IP address pool for services.
@@ -52,7 +52,7 @@ The CNO configuration inherits the following fields during cluster installation
After cluster installation, you cannot modify the fields listed in the previous section.
55
+
After cluster installation, you can only modify the `clusterNetwork` IP address range. The default network type can only be changed from OpenShift SDN to OVN-Kubernetes through migration.
56
56
====
57
57
endif::[]
58
58
ifndef::post-install-network-configuration[]
@@ -87,13 +87,6 @@ spec:
87
87
hostPrefix: 23
88
88
----
89
89
90
-
ifdef::operator[]
91
-
This value is ready-only and inherited from the `Network.config.openshift.io` object named `cluster` during cluster installation.
92
-
endif::operator[]
93
-
ifndef::operator[]
94
-
You can customize this field only in the `install-config.yaml` file before you create the manifests. The value is read-only in the manifest file.
95
-
endif::operator[]
96
-
97
90
|`spec.serviceNetwork`
98
91
|`array`
99
92
|A block of IP addresses for services. The OpenShift SDN and OVN-Kubernetes network plugins support only a single IP address block for the service network. For example:
@@ -137,7 +130,7 @@ The values for the `defaultNetwork` object are defined in the following table:
137
130
138
131
|`type`
139
132
|`string`
140
-
|Either `OpenShiftSDN` or `OVNKubernetes`. The {openshift-networking} network plugin is selected during installation. This value cannot be changed after cluster installation.
133
+
|Either `OpenShiftSDN` or `OVNKubernetes`. The {openshift-networking} network plugin is selected during installation. You can change this value by migrating from OpenShift SDN to OVN-Kubernetes.
141
134
[NOTE]
142
135
====
143
136
{product-title} uses the OVN-Kubernetes network plugin by default.
@@ -208,13 +201,6 @@ endif::operator[]
208
201
209
202
|====
210
203
211
-
ifdef::operator[]
212
-
[NOTE]
213
-
====
214
-
You can only change the configuration for your cluster network plugin during cluster installation.
215
-
====
216
-
endif::operator[]
217
-
218
204
.Example OpenShift SDN configuration
219
205
[source,yaml]
220
206
----
@@ -352,12 +338,6 @@ If you set this field to `true`, you do not receive the performance benefits of
352
338
353
339
|====
354
340
355
-
ifdef::operator[]
356
-
[NOTE]
357
-
====
358
-
You can only change the configuration for your cluster network plugin during cluster installation, except for the `gatewayConfig` field that can be changed at runtime as a postinstallation activity.
359
-
====
360
-
endif::operator[]
361
341
362
342
.Example OVN-Kubernetes configuration with IPSec enabled
* xref:../rest_api/operator_apis/network-operator-openshift-io-v1.adoc#network-operator-openshift-io-v1[`Network` API in the `operator.openshift.io` API group]
26
+
* xref:../networking/configuring-cluster-network-range.adoc#nw-cluster-network-range-edit_configuring-cluster-network-range[Modifying the `clusterNetwork` IP address range]
27
+
* xref:../networking/ovn_kubernetes_network_provider/migrate-from-openshift-sdn.adoc#migrate-from-openshift-sdn[Migrating from the OpenShift SDN network plugin]
0 commit comments