tencent cloud

Feedback

Interconnection Between Intra-region and Cross-region Clusters in GlobalRouter Mode

Last updated: 2022-03-24 10:01:39

    Overview

    Peering Connection provides high-bandwidth, high-quality data links connecting Tencent Cloud resources. With Peering Connection, you can implement . For more information, refer to Creating Peering Connections.

    Note:

    • The directions in this document are based on an existing cluster with nodes. If you don't have one, please refer to Creating Clusters.
    • Make sure that the peering connection is successfully created and the CVM instances can communicate with one another. If the peering connection does not work, go to the console and check if the route table, CVM security groups, and subnet ACL are configured properly.

    Directions

    Note:

    To implement interconnection between cross-region clusters, submit a ticket after completing the following steps to configure container routing to interconnect containers.

    Getting container information

    1. Log in to the TKE console and select Cluster in the left sidebar.
    2. Click the ID/name of the cluster for which to set cluster interconnection to enter the management page of the cluster.
    3. In the left sidebar, select "Basic information" to go to the "Basic information" page.
    4. Record the following information: Region, Node Network, and Container Network.
    5. Repeat step 3 to step 5 for the other container in the different cluster.
      For example, you can record the information of the container in Cluster B.

    Configuring route tables

    1. Log in to the VPC console and select Peering Connection on the left sidebar.
    2. In the peering connection management page, record the name/ID of the peering connection.
    3. Select Subnet on the left sidebar to enter the subnet management page.
    4. Click the local end of the peering connection and specify the routing table associated with the subnet.
    5. On the Default Details page of the associated route table, click + New routing policies.
    6. In the Add a route page, configure the following parameters:
    • Destination: Enter the IP address range of the container in Cluster B.
    • Next hop type: Select Peering connection.
    • Next hop: Select the established peering connection.
    1. Click OK to complete the configuration of the local route table.
    2. Repeat step 3 to step 7 to configure the route table of the opposite end.

    Expected Results

    • Intro-region peering: the above directions should allow containers in different clusters to communicate.
    • Cross-region cluster: after the peering connection is established successfully, submit a ticket to configure container routing to interconnect the containers.

    Refer to Basic Remote Terminal Operations on how to log in to a container, and verify the peering connection as instructed below:

    1. Log in to the container in Cluster A and access the container in Cluster B.
    2. Log in to the container in Cluster B and access the container in Cluster A.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support