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
+80-8Lines changed: 80 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -254,6 +254,14 @@ ifdef::operator[]
254
254
An object describing the IPsec mode for the cluster.
255
255
endif::operator[]
256
256
257
+
|`ipv4`
258
+
|`object`
259
+
|Specifies a configuration object for IPv4 settings.
260
+
261
+
|`ipv6`
262
+
|`object`
263
+
|Specifies a configuration object for IPv6 settings.
264
+
257
265
|`policyAuditConfig`
258
266
|`object`
259
267
|Specify a configuration object for customizing network policy audit logging. If unset, the defaults audit log settings are used.
@@ -267,19 +275,50 @@ endif::operator[]
267
275
While migrating egress traffic, you can expect some disruption to workloads and service traffic until the Cluster Network Operator (CNO) successfully rolls out the changes.
268
276
====
269
277
270
-
|`v4InternalSubnet`
278
+
|`v6InternalSubnet`
279
+
|
280
+
|====
281
+
282
+
.`ovnKubernetesConfig.ipv4` object
283
+
[cols=".^2,.^2,.^6a",options="header"]
284
+
|====
285
+
|Field|Type|Description
286
+
287
+
|`internalTransitSwitchSubnet`
288
+
|string
289
+
|
290
+
If your existing network infrastructure overlaps with the `100.88.0.0/16` IPv4 subnet, you can specify a different IP address range for internal use by OVN-Kubernetes. The subnet for the distributed transit switch that enables east-west traffic. This subnet cannot overlap with any other subnets used by OVN-Kubernetes or on the host itself. It must be large enough to accommodate one IP address per node in your cluster.
291
+
292
+
The default value is `100.88.0.0/16`.
293
+
294
+
|`internalJoinSubnet`
295
+
|string
271
296
|
272
297
If your existing network infrastructure overlaps with the `100.64.0.0/16` IPv4 subnet, you can specify a different IP address range for internal use by OVN-Kubernetes. You must ensure that the IP address range does not overlap with any other subnet used by your {product-title} installation. The IP address range must be larger than the maximum number of nodes that can be added to the cluster. For example, if the `clusterNetwork.cidr` value is `10.128.0.0/14` and the `clusterNetwork.hostPrefix` value is `/23`, then the maximum number of nodes is `2^(23-14)=512`.
273
298
274
-
This field cannot be changed after installation.
275
-
|The default value is `100.64.0.0/16`.
299
+
The default value is `100.64.0.0/16`.
276
300
277
-
|`v6InternalSubnet`
301
+
|====
302
+
303
+
.`ovnKubernetesConfig.ipv6` object
304
+
[cols=".^2,.^2,.^6a",options="header"]
305
+
|====
306
+
|Field|Type|Description
307
+
308
+
|`internalTransitSwitchSubnet`
309
+
|string
278
310
|
279
-
If your existing network infrastructure overlaps with the `fd98::/48` IPv6 subnet, you can specify a different IP address range for internal use by OVN-Kubernetes. You must ensure that the IP address range does not overlap with any other subnet used by your {product-title} installation. The IP address range must be larger than the maximum number of nodes that can be added to the cluster.
311
+
If your existing network infrastructure overlaps with the `fd97::/64` IPv6 subnet, you can specify a different IP address range for internal use by OVN-Kubernetes. The subnet for the distributed transit switch that enables east-west traffic. This subnet cannot overlap with any other subnets used by OVN-Kubernetes or on the host itself. It must be large enough to accommodate one IP address per node in your cluster.
312
+
313
+
The default value is `fd97::/64`.
314
+
315
+
|`internalJoinSubnet`
316
+
|string
317
+
|
318
+
If your existing network infrastructure overlaps with the `fd98::/64` IPv6 subnet, you can specify a different IP address range for internal use by OVN-Kubernetes. You must ensure that the IP address range does not overlap with any other subnet used by your {product-title} installation. The IP address range must be larger than the maximum number of nodes that can be added to the cluster.
319
+
320
+
The default value is `fd98::/64`.
280
321
281
-
This field cannot be changed after installation.
282
-
| The default value is `fd98::/48`.
283
322
|====
284
323
285
324
// tag::policy-audit[]
@@ -337,6 +376,40 @@ If you set this field to `true`, you do not receive the performance benefits of
337
376
|`object`
338
377
|You can control IP forwarding for all traffic on OVN-Kubernetes managed interfaces by using the `ipForwarding` specification in the `Network` resource. Specify `Restricted` to only allow IP forwarding for Kubernetes related traffic. Specify `Global` to allow forwarding of all IP traffic. For new installations, the default is `Restricted`. For updates to {product-title} 4.14 or later, the default is `Global`.
339
378
379
+
|`ipv4`
380
+
|`object`
381
+
|Optional: Specify an object to configure the internal OVN-Kubernetes masquerade address for host to service traffic for IPv4 addresses.
382
+
383
+
|`ipv6`
384
+
|`object`
385
+
|Optional: Specify an object to configure the internal OVN-Kubernetes masquerade address for host to service traffic for IPv6 addresses.
386
+
387
+
|====
388
+
389
+
[id="gatewayconfig-ipv4-object_{context}"]
390
+
.`gatewayConfig.ipv4` object
391
+
[cols=".^2,.^2,.^6a",options="header"]
392
+
|====
393
+
|Field|Type|Description
394
+
395
+
|`internalMasqueradeSubnet`
396
+
|`string`
397
+
|
398
+
The masquerade IPv4 addresses that are used internally to enable host to service traffic. The host is configured with these IP addresses as well as the shared gateway bridge interface. The default value is `169.254.169.0/29`.
399
+
400
+
|====
401
+
402
+
[id="gatewayconfig-ipv6-object_{context}"]
403
+
.`gatewayConfig.ipv6` object
404
+
[cols=".^2,.^2,.^6a",options="header"]
405
+
|====
406
+
|Field|Type|Description
407
+
408
+
|`internalMasqueradeSubnet`
409
+
|`string`
410
+
|
411
+
The masquerade IPv6 addresses that are used internally to enable host to service traffic. The host is configured with these IP addresses as well as the shared gateway bridge interface. The default value is `fd69::/125`.
412
+
340
413
|====
341
414
342
415
[id="nw-operator-cr-ipsec_{context}"]
@@ -357,7 +430,6 @@ a|Specifies the behavior of the IPsec implementation. Must be one of the followi
`<join_subnet>`:: Specifies an IP address subnet for internal use by OVN-Kubernetes. The subnet must be larger than the number of nodes in the cluster and it must be large enough to accommodate one IP address per node in the cluster. This subnet cannot overlap with any other subnets used by {product-title} or on the host itself. The default value for IPv4 is `100.64.0.0/16` and the default value for IPv6 is `fd98::/64`.
33
+
--
34
+
+
35
+
.Example output
36
+
[source,text]
37
+
----
38
+
network.operator.openshift.io/cluster patched
39
+
----
40
+
41
+
.Verification
42
+
43
+
* To confirm that the configuration is active, enter the following command:
44
+
+
45
+
[source,terminal]
46
+
----
47
+
$ oc get network.operator.openshift.io \
48
+
-o jsonpath="{.items[0].spec.defaultNetwork}"
49
+
----
50
+
+
51
+
It can take up to 30 minutes for this change to take effect.
`<transit_subnet>`:: Specifies an IP address subnet for the distributed transit switch that enables east-west traffic. This subnet cannot overlap with any other subnets used by OVN-Kubernetes or on the host itself. The default value for IPv4 is `100.88.0.0/16` and the default value for IPv6 is `fd97::/64`.
33
+
--
34
+
+
35
+
.Example output
36
+
[source,text]
37
+
----
38
+
network.operator.openshift.io/cluster patched
39
+
----
40
+
41
+
.Verification
42
+
43
+
* To confirm that the configuration is active, enter the following command:
44
+
+
45
+
[source,terminal]
46
+
----
47
+
$ oc get network.operator.openshift.io \
48
+
-o jsonpath="{.items[0].spec.defaultNetwork}"
49
+
----
50
+
+
51
+
It can take up to 30 minutes for this change to take effect.
0 commit comments