-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OCPBUGS#55102: Include reserved HCP CIDR ranges #93269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,16 @@ | ||||||
// Module included in the following assemblies: | ||||||
// | ||||||
// * hosted_control_planes/hcp-prepare/hcp-requirements.adoc | ||||||
|
||||||
:_mod-docs-content-type: CONCEPT | ||||||
[id="hcp-cidr-ranges_{context}"] | ||||||
= CIDR ranges for {hcp} | ||||||
|
||||||
For deploying {hcp} on {product-title}, consider the following required Classless Inter-Domain Routing (CIDR) subnet ranges: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If these are required, should we use a more active verb like "use" or "adhere to"?
Suggested change
|
||||||
|
||||||
* `v4InternalSubnet`: 100.65.0.0/16 (OVN-Kubernetes) | ||||||
* `clusterNetwork`: 10.132.0.0/14 (pod network) | ||||||
* `serviceNetwork`: 172.31.0.0/16 | ||||||
|
||||||
|
||||||
For more information about {product-title} CIDR range definitions, see "CIDR range definitions". |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ endif::openshift-dedicated,openshift-rosa[] | |
|
||
toc::[] | ||
|
||
If your cluster uses OVN-Kubernetes, you must specify non-overlapping ranges for Classless Inter-Domain Routing (CIDR) subnet ranges. | ||
If your cluster uses OVN-Kubernetes, you must specify non-overlapping ranges for Classless Inter-Domain Routing (CIDR) subnet ranges. | ||
|
||
[IMPORTANT] | ||
==== | ||
|
@@ -18,9 +18,9 @@ For {product-title} 4.17 and later versions, clusters use `169.254.0.0/17` for I | |
|
||
The following subnet types and are mandatory for a cluster that uses OVN-Kubernetes: | ||
|
||
* 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. | ||
* 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. | ||
* 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. | ||
* 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. | ||
* 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. | ||
|
||
[NOTE] | ||
==== | ||
|
@@ -121,4 +121,13 @@ endif::openshift-rosa,openshift-dedicated[] | |
|
||
ifdef::openshift-enterprise[] | ||
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. | ||
endif::openshift-enterprise[] | ||
endif::openshift-enterprise[] | ||
|
||
[id="hcp-cidr-description_{context}"] | ||
== {hcp-capital} CIDR | ||
|
||
For {hcp} on {product-title}, consider the following required CIDR ranges: | ||
|
||
* `v4InternalSubnet`: 100.65.0.0/16 (OVN-Kubernetes) | ||
* `clusterNetwork`: 10.132.0.0/14 (pod network) | ||
* `serviceNetwork`: 172.31.0.0/16 | ||
Comment on lines
+126
to
+133
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this content needs to be maintained at all (like if there will be changes to this list), finding a way to write it only once and reuse it in both places will avoid errors creeping in from folks not realizing there are two versions of the same content in the repo. Maybe a snippet, or just including the module in this assembly? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.