Skip to content

Commit f6e156e

Browse files
committed
OCPBUGS-22921: CIDR range definitions for OCP
1 parent 4ca4699 commit f6e156e

File tree

2 files changed

+42
-4
lines changed

2 files changed

+42
-4
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,8 @@ Topics:
12571257
File: default-network-policy
12581258
- Name: Configuring multitenant isolation with network policy
12591259
File: multitenant-network-policy
1260+
- Name: CIDR range definitions
1261+
File: cidr-range-definitions
12601262
- Name: AWS Load Balancer Operator
12611263
Dir: aws_load_balancer_operator
12621264
Distros: openshift-enterprise,openshift-origin

networking/cidr-range-definitions.adoc

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
:_mod-docs-content-type: ASSEMBLY
22
[id="cidr-range-definitions"]
33
= CIDR range definitions
4+
include::_attributes/common-attributes.adoc[]
5+
ifdef::openshift-dedicated,openshift-rosa[]
46
include::_attributes/attributes-openshift-dedicated.adoc[]
7+
endif::openshift-dedicated,openshift-rosa[]
58
:context: cidr-range-definitions
69

710
toc::[]
@@ -24,7 +27,12 @@ OVN-Kubernetes, the default network provider in {product-title} 4.11 and later,
2427

2528
[id="machine-cidr-description"]
2629
== Machine CIDR
27-
In the Machine CIDR field, you must specify the IP address range for machines or cluster nodes. This range must encompass all CIDR address ranges for your virtual private cloud (VPC) subnets. Subnets must be contiguous. A minimum IP address range of 128 addresses, using the subnet prefix `/25`, is supported for single availability zone deployments. A minimum address range of 256 addresses, using the subnet prefix `/24`, is supported for deployments that use multiple availability zones. The default is `10.0.0.0/16`. This range must not conflict with any connected networks.
30+
In the Machine CIDR field, you must specify the IP address range for machines or cluster nodes.
31+
ifdef::openshift-rosa,openshift-dedicated[]
32+
This range must encompass all CIDR address ranges for your virtual private cloud (VPC) subnets. Subnets must be contiguous. A minimum IP address range of 128 addresses, using the subnet prefix `/25`, is supported for single availability zone deployments. A minimum address range of 256 addresses, using the subnet prefix `/24`, is supported for deployments that use multiple availability zones.
33+
endif::openshift-rosa,openshift-dedicated[]
34+
35+
The default is `10.0.0.0/16`. This range must not conflict with any connected networks.
2836

2937
ifdef::openshift-rosa[]
3038
[NOTE]
@@ -35,12 +43,40 @@ endif::[]
3543

3644
[id="service-cidr-description"]
3745
== Service CIDR
38-
In the Service CIDR field, you must specify the IP address range for services. It is recommended, but not required, that the address block is the same between clusters. This will not create IP address conflicts. The range must be large enough to accommodate your workload. The address block must not overlap with any external service accessed from within the cluster. The default is `172.30.0.0/16`.
46+
In the Service CIDR field, you must specify the IP address range for services.
47+
ifdef::openshift-rosa,openshift-dedicated[]
48+
It is recommended, but not required, that the address block is the same between clusters. This will not create IP address conflicts.
49+
endif::openshift-rosa,openshift-dedicated[]
50+
The range must be large enough to accommodate your workload. The address block must not overlap with any external service accessed from within the cluster. The default is `172.30.0.0/16`.
3951

4052
[id="pod-cidr-description"]
4153
== Pod CIDR
42-
In the pod CIDR field, you must specify the IP address range for pods. It is recommended, but not required, that the address block is the same between clusters. This will not create IP address conflicts. The range must be large enough to accommodate your workload. The address block must not overlap with any external service accessed from within the cluster. The default is `10.128.0.0/14`.
54+
In the pod CIDR field, you must specify the IP address range for pods.
55+
56+
ifdef::openshift-enterprise[]
57+
The pod CIDR is the same as the `clusterNetwork` CIDR and the cluster CIDR.
58+
endif::openshift-enterprise[]
59+
ifdef::openshift-rosa,openshift-dedicated[]
60+
It is recommended, but not required, that the address block is the same between clusters. This will not create IP address conflicts.
61+
endif::openshift-rosa,openshift-dedicated[]
62+
The range must be large enough to accommodate your workload. The address block must not overlap with any external service accessed from within the cluster. The default is `10.128.0.0/14`.
63+
ifdef::openshift-enterprise[]
64+
You can expand the range after cluster installation.
65+
66+
[role="_additional-resources"]
67+
.Additional resources
68+
* xref:../networking/cluster-network-operator.adoc#nw-operator-cr-cno-object_cluster-network-operator[Cluster Network Operator Configuration]
69+
* xref:../networking/configuring-cluster-network-range.adoc#configuring-cluster-network-range[Configuring the cluster network range]
70+
endif::openshift-enterprise[]
4371

4472
[id="host-prefix-description"]
4573
== Host Prefix
46-
In the Host Prefix field, you must Specify the subnet prefix length assigned to pods scheduled to individual machines. The host prefix determines the pod IP address pool for each machine. For example, if the host prefix is set to `/23`, each machine is assigned a `/23` subnet from the pod CIDR address range. The default is `/23`, allowing 512 cluster nodes, and 512 pods per node (both of which are beyond our maximum supported).
74+
In the Host Prefix field, you must specify the subnet prefix length assigned to pods scheduled to individual machines. The host prefix determines the pod IP address pool for each machine.
75+
76+
ifdef::openshift-rosa,openshift-dedicated[]
77+
For example, if the host prefix is set to `/23`, each machine is assigned a `/23` subnet from the pod CIDR address range. The default is `/23`, allowing 512 cluster nodes, and 512 pods per node (both of which are beyond our maximum supported).
78+
endif::openshift-rosa,openshift-dedicated[]
79+
80+
ifdef::openshift-enterprise[]
81+
For example, if the host prefix is set to `/23`, each machine is assigned a `/23` subnet from the pod CIDR address range. The default is `/23`, allowing 510 cluster nodes, and 510 pod IP addresses per node.
82+
endif::openshift-enterprise[]

0 commit comments

Comments
 (0)