Home / Platform management / Networking / Subnets / Subnet management (Kube-OVN network)

Subnet management (Kube-OVN network)

Manage subnets under Kube-OVN network, including Underlay and Overlay transport networks.

Update gateway

This includes changing the outbound method of traffic, gateway node, and NAT configuration.

Procedure

  1. Click Networking > Subnets on the left navigation bar.

  2. Click the name of the subnet.

  3. Select Actions > Update Gateway.

  4. Update parameter configurations, for details, please refer to the parameter description .

  5. Click Confirm.

Update the reserved IP

The gateway IP cannot be removed from the reserved IP, while other reserved IPs can be freely edited, deleted, or added.

Procedure

  1. Click Networking > Subnets in the left navigation bar.

  2. Click the name of the subnet.

  3. Select Actions > Update reversed IP.

  4. After the update is complete, click Update.

Update the namespace

Update the namespace where the subnet is located.

Cautions

The update process will rebuild the gateway, and all outbound packets will be discarded! Please ensure that there are no business applications accessing outside the cluster.

Procedure

  1. Click Networking > Subnets in the left navigation bar.

  2. Click the name of the subnet.

  3. Select Actions > Update Namespace.

  4. After adding one or more namespaces, click Update.

Scaling subnets

When the reserved IP range of the subnet reaches its usage limit or is about to be exhausted, the subnet can be expanded based on the source network segment without affecting the normal operation of existing businesses.

Procedure

  1. Click Networking > Subnets in the left navigation bar.

  2. Click the name of the subnet.

  3. Select Actions > Scale up CIDR.

  4. Complete the configuration and click Update.

Underlay and Overlay subnets automatically interoperate

If a cluster has both Underlay and Overlay subnets, by default, Pods under the Overlay subnet can access Pod IPs under the Underlay subnet through NAT via a gateway. However, Pods under the Underlay subnet need to configure node routing to access Pods under the Overlay subnet.

To achieve automatic interoperation between Underlay and Overlay subnets, you can manually modify the YAML file of the Underlay subnet. After the configuration is completed, Kube-OVN will use an additional Underlay IP to connect the Underlay subnet and the ovn-cluster logical router, and set corresponding routing rules to achieve interoperation.

Procedure

  1. In the left navigation bar, click Clusters > Resources.

  2. Enter Subnet to filter resource objects.

  3. Click on the right of the Underlay subnet to be modified > Update.

  4. Modify the YAML file and add the u2oInterconnection: true field in Spec.

  5. Click Update.

Note: For existing computing components under the Underlay subnet, Pods need to be rebuilt to take effect.