edit-icon download-icon

Create a custom network

Last Updated: Feb 07, 2018

Besides the default network of an application, you can also create a custom network.

You can create more complicated network topology and network settings by using custom networks.

Procedure

  1. Log on to the Container Service console.

  2. Click Networks in the left-side navigation pane.

  3. Select the cluster from the Cluster list and click Create at the upper right corner of the page.

    1

  4. Enter the network information and click OK.

    • Name: The name of the network you are about to create.
    • Driver: The driver to be used by the network.
    • MTU: Optional. Set the maximum value (in bytes) of a network packet.
    • Config:
      • Encrypt communications between containers on different nodes: Whether or not to encrypt data during cross-node communication between containers.
      • Allow any container to attach to this network: Whether or not to allow adding other containers to this network.
      • Restrict external access to this network: With this check box selected, the network cannot access the external network.
    • IPAM: Optional. Configure the custom IPAM settings.
    • Options: Optional. Configure the related parameters of the network driver. For more information about the configurable parameters, see the related document for the driver in use.

    1

    After the creation, you can view the network details by clicking the network name in the network list.

    2

Thank you! We've received your feedback.