Cluster name that the subnet is being created for. Not required only
for the DHCP subnet.
CIDR
A valid IPv4 CIDR, for example, 10.11.0.0/24.
Include RangesOptional
A comma-separated list of IP address ranges within the given CIDR that should
be used in the allocation of IPs for nodes. The gateway, network, broadcast,
and DNSaddresses will be excluded (protected) automatically if they intersect
with one of the range. The IPs outside the given ranges will not be used in
the allocation. Each element of the list can be either an interval
10.11.0.5-10.11.0.70 or a single address 10.11.0.77.
The includeRanges parameter is mutually exclusive with excludeRanges.
Exclude RangesOptional
A comma-separated list of IP address ranges within the given CIDR that should
not be used in the allocation of IPs for nodes. The IPs within the given CIDR
but outside the given ranges will be used in the allocation.
The gateway, network, broadcast, and DNS addresses will be excluded
(protected) automatically if they are included in the CIDR.
Each element of the list can be either an interval 10.11.0.5-10.11.0.70
or a single address 10.11.0.77. The excludeRanges parameter
is mutually exclusive with includeRanges.
GatewayOptional
A valid IPv4 gateway address, for example, 10.11.0.9. Does not apply
to the MetalLB subnet.
Nameservers
IP addresses of nameservers separated by a comma. Does not apply
to the DHCP and MetalLB subnet types.
Use whole CIDR
Optional. Select to use the whole IPv4 CIDR range. Useful when
defining single IP addressed (/32), for example, in the
Cluster API load balancer (LB) subnet.
Labels
Key-value pairs attached to the selected subnet:
MetalLB:
metallb/address-pool-name
Name of the subnet address pool. Exemplary values:
services, default, external, services-pxe.
The latter label is dedicated for management clusters only.
For details about address pool names of a management cluster,
see Separate PXE and management networks.
metallb/address-pool-auto-assign
Enables automatic assignment of address pool. Boolean.
metallb/address-pool-protocol
Defines the address pool protocol. Possible values:
layer2 - announcement using the ARP protocol.
bgp - announcement using the BGP protocol. Technology
Preview.
For custom subnets, these are optional user-defined labels
to distinguish different subnets of the same type. For an example of user-defined labels,
see Expand IP addresses capacity in an existing cluster.
The following special values define the storage subnets:
Click Add a label and assign the first custom label
with the required name and value. To assign consecutive labels,
use the + button located in the right side of the
Labels section.
Click Create.
In the Networks tab, verify the status of the created
subnet:
Ready - object is operational.
Error - object is non-operational. Hover over the status
to obtain details of the issue.
Note
To verify subnet details, in the Networks tab,
click the More action icon in the last column of the
required subnet and select Subnet info.
Before 2.26.0 (17.1.0, 16.1.0)
In the Clusters tab, click the required cluster and scroll
down to the Subnets section.
Click Add Subnet.
Fill out the Add new subnet form as required:
Subnet Name
Subnet name.
CIDR
A valid IPv4 CIDR, for example, 10.11.0.0/24.
Include RangesOptional
A comma-separated list of IP address ranges within the given CIDR that should
be used in the allocation of IPs for nodes. The gateway, network, broadcast,
and DNSaddresses will be excluded (protected) automatically if they intersect
with one of the range. The IPs outside the given ranges will not be used in
the allocation. Each element of the list can be either an interval
10.11.0.5-10.11.0.70 or a single address 10.11.0.77.
The includeRanges parameter is mutually exclusive with excludeRanges.
Exclude RangesOptional
A comma-separated list of IP address ranges within the given CIDR that should
not be used in the allocation of IPs for nodes. The IPs within the given CIDR
but outside the given ranges will be used in the allocation.
The gateway, network, broadcast, and DNS addresses will be excluded
(protected) automatically if they are included in the CIDR.
Each element of the list can be either an interval 10.11.0.5-10.11.0.70
or a single address 10.11.0.77. The excludeRanges parameter
is mutually exclusive with includeRanges.