mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
29 lines
1.7 KiB
Plaintext
29 lines
1.7 KiB
Plaintext
:_mod-docs-content-type: ASSEMBLY
|
|
[id="configuring-cluster-network-range"]
|
|
= Configuring the cluster network range
|
|
include::_attributes/common-attributes.adoc[]
|
|
:context: configuring-cluster-network-range
|
|
|
|
toc::[]
|
|
|
|
As a cluster administrator, you can expand the cluster network range after cluster installation. You might want to expand the cluster network range if you need more IP addresses for additional nodes.
|
|
|
|
For example, if you deployed a cluster and specified `10.128.0.0/19` as the cluster network range and a host prefix of `23`, you are limited to 16 nodes. You can expand that to 510 nodes by changing the CIDR mask on a cluster to `/14`.
|
|
|
|
When expanding the cluster network address range, your cluster must use the xref:../networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc#about-ovn-kubernetes[OVN-Kubernetes network plugin]. Other network plugins are not supported.
|
|
|
|
The following limitations apply when modifying the cluster network IP address range:
|
|
|
|
- The CIDR mask size specified must always be smaller than the currently configured CIDR mask size, because you can only increase IP space by adding more nodes to an installed cluster
|
|
- The host prefix cannot be modified
|
|
- Pods that are configured with an overridden default gateway must be recreated after the cluster network expands
|
|
|
|
include::modules/nw-cluster-network-range-edit.adoc[leveloffset=+1]
|
|
|
|
[role="_additional-resources"]
|
|
[id="configuring-cluster-network-range-additional-resources"]
|
|
== Additional resources
|
|
|
|
* link:https://access.redhat.com/labs/ocpnc/[Red Hat OpenShift Network Calculator]
|
|
* xref:../networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc#about-ovn-kubernetes[About the OVN-Kubernetes network plugin]
|