Skip to content

Commit bc9d59a

Browse files
committed
OCPBUGS#55102: Include reserved HCP CIDR ranges
1 parent 8362c24 commit bc9d59a

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="hcp-cidr-ranges"]
3+
include::_attributes/common-attributes.adoc[]
4+
= CIDR ranges for {hcp}
5+
:context: hcp-cidr-ranges
6+
7+
toc::[]
8+
9+
For deploying {hcp} on {product-title}, consider the following required Classless Inter-Domain Routing (CIDR) subnet ranges:
10+
11+
* `v4InternalSubnet`: 100.65.0.0/16 (OVN-Kubernetes)
12+
* `clusterNetwork`: 10.132.0.0/14 (pod network)
13+
* `serviceNetwork`: 172.31.0.0/16
14+
15+
To know {product-title} CIDR range definitions, see xref:../../networking/cidr-range-definitions.adoc#cidr-range-definitions[CIDR range definitions].

networking/cidr-range-definitions.adoc

+13-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ endif::openshift-dedicated,openshift-rosa[]
99

1010
toc::[]
1111

12-
If your cluster uses OVN-Kubernetes, you must specify non-overlapping ranges for Classless Inter-Domain Routing (CIDR) subnet ranges.
12+
If your cluster uses OVN-Kubernetes, you must specify non-overlapping ranges for Classless Inter-Domain Routing (CIDR) subnet ranges.
1313

1414
[IMPORTANT]
1515
====
@@ -18,9 +18,9 @@ For {product-title} 4.17 and later versions, clusters use `169.254.0.0/17` for I
1818

1919
The following subnet types and are mandatory for a cluster that uses OVN-Kubernetes:
2020

21-
* Join: Uses a join switch to connect gateway routers to distributed routers. A join switch reduces the number of IP addresses for a distributed router. For a cluster that uses the OVN-Kubernetes plugin, an IP address from a dedicated subnet is assigned to any logical port that attaches to the join switch.
21+
* Join: Uses a join switch to connect gateway routers to distributed routers. A join switch reduces the number of IP addresses for a distributed router. For a cluster that uses the OVN-Kubernetes plugin, an IP address from a dedicated subnet is assigned to any logical port that attaches to the join switch.
2222
* Masquerade: Prevents collisions for identical source and destination IP addresses that are sent from a node as hairpin traffic to the same node after a load balancer makes a routing decision.
23-
* Transit: A transit switch is a type of distributed switch that spans across all nodes in the cluster. A transit switch routes traffic between different zones. For a cluster that uses the OVN-Kubernetes plugin, an IP address from a dedicated subnet is assigned to any logical port that attaches to the transit switch.
23+
* Transit: A transit switch is a type of distributed switch that spans across all nodes in the cluster. A transit switch routes traffic between different zones. For a cluster that uses the OVN-Kubernetes plugin, an IP address from a dedicated subnet is assigned to any logical port that attaches to the transit switch.
2424
2525
[NOTE]
2626
====
@@ -115,10 +115,19 @@ endif::openshift-enterprise[]
115115
== Host Prefix
116116
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.
117117
118+
[id="hcp-cidr-description_{context}"]
119+
== {hcp-capital} CIDR
120+
121+
For {hcp} on {product-title}, consider the following required CIDR ranges:
122+
123+
* `v4InternalSubnet`: 100.65.0.0/16 (OVN-Kubernetes)
124+
* `clusterNetwork`: 10.132.0.0/14 (pod network)
125+
* `serviceNetwork`: 172.31.0.0/16
126+
118127
ifdef::openshift-rosa,openshift-dedicated[]
119128
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).
120129
endif::openshift-rosa,openshift-dedicated[]
121130

122131
ifdef::openshift-enterprise[]
123132
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.
124-
endif::openshift-enterprise[]
133+
endif::openshift-enterprise[]

0 commit comments

Comments
 (0)