1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/nw-install-config-parameters.adoc
2020-12-04 16:40:59 -05:00

62 lines
2.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * installing/installing_aws/installing-aws-network-customizations.adoc
// * installing/installing_azure/installing-azure-network-customizations.adoc
// * installing/installing_bare_metal/installing-bare-metal-network-customizations.adoc
// * installing/installing_gcp/installing-gcp-network-customizations.adoc
// * installing/installing_vsphere/installing-vsphere-network-customizations.adoc
// * installing/installing_vsphere/installing-vsphere-installer-provisioned-network-customizations.adoc
[id="network-customization-config-yaml_{context}"]
= Network configuration parameters
You can modify your cluster network configuration parameters in the
`install-config.yaml` configuration file. The following table describes the
parameters.
[NOTE]
====
You cannot modify these parameters in the `install-config.yaml` file after installation.
====
.Required network parameters
[cols=".^2,.^5,.^3",options="header"]
|====
|Parameter|Description|Value
|`networking.networkType`
|The default Container Network Interface (CNI) network provider plug-in to deploy.
ifdef::openshift-origin[]
|Either `OpenShiftSDN` or `OVNKubernetes`. The default value is `OVNKubernetes`.
endif::openshift-origin[]
ifndef::openshift-origin[]
|Either `OpenShiftSDN` or `OVNKubernetes`. The default value is `OpenShiftSDN`.
endif::openshift-origin[]
|`networking.clusterNetwork[].cidr`
|A block of IP addresses from which pod IP addresses are allocated. The
`OpenShiftSDN` network plug-in supports multiple cluster networks. The address
blocks for multiple cluster networks must not overlap. Select address pools
large enough to fit your anticipated workload.
|An IP address allocation in CIDR format. The default value is `10.128.0.0/14`.
|`networking.clusterNetwork[].hostPrefix`
|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`, allowing for 510 (2^(32 - 23) - 2) pod IP addresses.
|A subnet prefix. The default value is `23`.
|`networking.serviceNetwork[]`
|A block of IP addresses for services. `OpenShiftSDN` allows only one
`serviceNetwork` block. The address block must not overlap with any other
network block.
|An IP address allocation in CIDR format. The default value is `172.30.0.0/16`.
|`networking.machineNetwork[].cidr`
|A block of IP addresses assigned to nodes created by the {product-title}
installation program while installing the cluster. The address block must not
overlap with any other network block. Multiple CIDR ranges may be specified.
|An IP address allocation in CIDR format. The default value is `10.0.0.0/16`.
|====