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
285
-
//ifndef::bare[]
286
-
Only IPv4 addresses are supported.
287
-
////
288
-
endif::bare[]
289
-
ifdef::bare[]
285
+
290
286
If you use the OVN-Kubernetes cluster network provider, both IPv4 and IPv6 address families are supported.
291
287
292
288
If you use the OpenShift SDN cluster network provider, only the IPv4 address family is supported.
@@ -303,14 +299,12 @@ networking:
303
299
clusterNetwork:
304
300
- cidr: 10.128.0.0/14
305
301
hostPrefix: 23
306
-
- cidr: fd00:10:128::/56
302
+
- cidr: fd01::/48
307
303
hostPrefix: 64
308
304
serviceNetwork:
309
305
- 172.30.0.0/16
310
306
- fd00:172:16::/112
311
307
----
312
-
endif::bare[]
313
-
////
314
308
315
309
.Network parameters
316
310
[cols=".^2,.^3a,.^3a",options="header"]
@@ -347,78 +341,49 @@ If you specify multiple IP address blocks, the blocks must not overlap.
347
341
348
342
[source,yaml]
349
343
----
350
-
//ifndef::bare[]
351
344
networking:
352
345
clusterNetwork:
353
346
- cidr: 10.128.0.0/14
354
347
hostPrefix: 23
355
-
//endif::bare[]
356
-
//ifdef::bare[]
357
-
//networking:
358
-
// clusterNetwork:
359
-
// - cidr: 10.128.0.0/14
360
-
// hostPrefix: 23
361
-
// - cidr: fd01::/48
362
-
// hostPrefix: 64
363
-
//endif::bare[]
348
+
- cidr: fd01::/48
349
+
hostPrefix: 64
364
350
----
365
351
366
352
|`networking.clusterNetwork.cidr`
367
353
|
368
354
Required if you use `networking.clusterNetwork`. An IP address block.
369
355
370
-
//ifndef::bare[]
371
-
An IPv4 network.
372
-
//endif::bare[]
373
-
//ifdef::bare[]
374
-
//If you use the OpenShift SDN network provider, specify an IPv4 network. If you use the OVN-Kubernetes network provider, you can specify IPv4 and IPv6 networks.
375
-
//endif::bare[]
356
+
If you use the OpenShift SDN network provider, specify an IPv4 network. If you use the OVN-Kubernetes network provider, you can specify IPv4 and IPv6 networks.
376
357
|
377
358
An IP address block in Classless Inter-Domain Routing (CIDR) notation.
378
359
The prefix length for an IPv4 block is between `0` and `32`.
379
-
//ifdef::bare[]
380
-
//The prefix length for an IPv6 block is between `0` and `128`. For example, `10.128.0.0/14` or `fd01::/48`.
381
-
//endif::bare[]
360
+
The prefix length for an IPv6 block is between `0` and `128`. For example, `10.128.0.0/14` or `fd01::/48`.
382
361
383
362
|`networking.clusterNetwork.hostPrefix`
384
363
|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.
385
364
|
386
365
A subnet prefix.
387
366
388
-
//ifndef::bare[]
389
-
The default value is `23`.
390
-
//endif::bare[]
391
-
//ifdef::bare[]
392
-
//For an IPv4 network the default value is `23`.
393
-
//For an IPv6 network the default value is `64`. The default value is also the minimum value for IPv6.
394
-
//endif::bare[]
367
+
For an IPv4 network the default value is `23`.
368
+
For an IPv6 network the default value is `64`. The default value is also the minimum value for IPv6.
395
369
396
370
|`networking.serviceNetwork`
397
371
|
398
372
The IP address block for services. The default value is `172.30.0.0/16`.
399
373
400
374
The OpenShift SDN and OVN-Kubernetes network providers support only a single IP address block for the service network.
401
375
402
-
//ifdef::bare[]
403
-
//If you use the OVN-Kubernetes network provider, you can specify an IP address block for both of the IPv4 and IPv6 address families.
404
-
//endif::bare[]
376
+
If you use the OVN-Kubernetes network provider, you can specify an IP address block for both of the IPv4 and IPv6 address families.
405
377
406
378
|
407
379
An array with an IP address block in CIDR format. For example:
408
380
409
381
[source,yaml]
410
382
----
411
-
//ifndef::bare[]
412
383
networking:
413
384
serviceNetwork:
414
385
- 172.30.0.0/16
415
-
//endif::bare[]
416
-
//ifdef::bare[]
417
-
//networking:
418
-
// serviceNetwork:
419
-
// - 172.30.0.0/16
420
-
// - fd02::/112
421
-
//endif::bare[]
386
+
- fd02::/112
422
387
----
423
388
424
389
|`networking.machineNetwork`
@@ -445,12 +410,7 @@ Required if you use `networking.machineNetwork`. An IP address block. The defaul
0 commit comments