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
// Once BM UPI supports dual-stack, uncomment all the following conditionals and blocks
308
+
ifndef::bare[]
309
+
Only IPv4 addresses are supported.
310
+
endif::bare[]
308
311
312
+
ifdef::bare[]
309
313
* If you use the {openshift-networking} OVN-Kubernetes network plug-in, both IPv4 and IPv6 address families are supported.
310
314
311
315
* If you use the {openshift-networking} OpenShift SDN network plug-in, only the IPv4 address family is supported.
@@ -331,12 +335,13 @@ networking:
331
335
clusterNetwork:
332
336
- cidr: 10.128.0.0/14
333
337
hostPrefix: 23
334
-
- cidr: fd01::/48
338
+
- cidr: fd00:10:128::/56
335
339
hostPrefix: 64
336
340
serviceNetwork:
337
341
- 172.30.0.0/16
338
342
- fd00:172:16::/112
339
343
----
344
+
endif::bare[]
340
345
341
346
[NOTE]
342
347
====
@@ -378,49 +383,80 @@ If you specify multiple IP address blocks, the blocks must not overlap.
378
383
379
384
[source,yaml]
380
385
----
386
+
ifndef::bare[]
387
+
networking:
388
+
clusterNetwork:
389
+
- cidr: 10.128.0.0/14
390
+
hostPrefix: 23
391
+
endif::bare[]
392
+
ifdef::bare[]
381
393
networking:
382
394
clusterNetwork:
383
395
- cidr: 10.128.0.0/14
384
396
hostPrefix: 23
385
397
- cidr: fd01::/48
386
398
hostPrefix: 64
399
+
endif::bare[]
387
400
----
388
401
389
402
|`networking.clusterNetwork.cidr`
390
403
|
391
404
Required if you use `networking.clusterNetwork`. An IP address block.
392
405
406
+
ifndef::bare[]
407
+
An IPv4 network.
408
+
endif::bare[]
409
+
410
+
ifdef::bare[]
393
411
If you use the OpenShift SDN network plug-in, specify an IPv4 network. If you use the OVN-Kubernetes network plug-in, you can specify IPv4 and IPv6 networks.
412
+
endif::bare[]
394
413
|
395
414
An IP address block in Classless Inter-Domain Routing (CIDR) notation.
396
415
The prefix length for an IPv4 block is between `0` and `32`.
416
+
ifdef::bare[]
397
417
The prefix length for an IPv6 block is between `0` and `128`. For example, `10.128.0.0/14` or `fd01::/48`.
418
+
endif::bare[]
398
419
399
420
|`networking.clusterNetwork.hostPrefix`
400
421
|The subnet prefix length to assign to each individual node. For example, if `hostPrefix` is set to `23` then each node is assigned a `/23` subnet out of the given `cidr`. A `hostPrefix` value of `23` provides 510 (2^(32 - 23) - 2) pod IP addresses.
401
422
|
402
423
A subnet prefix.
403
424
425
+
ifndef::bare[]
426
+
The default value is `23`.
427
+
endif::bare[]
428
+
429
+
ifdef::bare[]
404
430
For an IPv4 network the default value is `23`.
405
431
For an IPv6 network the default value is `64`. The default value is also the minimum value for IPv6.
432
+
endif::bare[]
406
433
407
434
|`networking.serviceNetwork`
408
435
|
409
436
The IP address block for services. The default value is `172.30.0.0/16`.
410
437
411
438
The OpenShift SDN and OVN-Kubernetes network plug-ins support only a single IP address block for the service network.
412
439
440
+
ifdef::bare[]
413
441
If you use the OVN-Kubernetes network plug-in, you can specify an IP address block for both of the IPv4 and IPv6 address families.
442
+
endif::bare[]
414
443
415
444
|
416
445
An array with an IP address block in CIDR format. For example:
0 commit comments