tencent cloud

Feedback

Interconnection Between Cluster in GlobalRouter Mode and IDC

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

    Overview

    Currently, a container cluster can communicate with your IDC mainly through two methods: Direct Connect and IPsec VPN.

    Note:

    • The directions in this document are based on an existing cluster with nodes. For how to create a cluster, see Quickly Creating a Standard Cluster.
    • Make sure that the VPC where TKE resides is successfully connected to your IDC through Direct Connect or VPN Connections. If no tunnel is established, you can establish one as instructed in Features.

    Directions

    Communication over Direct Connect

    1. Apply for a connection as instructed in Applying for Connection.
    2. Apply for a tunnel as instructed in Creating a Dedicated Tunnel.
    3. Create a Direct Connect gateway as instructed in Creating Direct Connect Gateway.
    4. Verify that the container node can communicate with the IDC.
      Note:

      When performing this step, please make sure that the container node can communicate with the IDC and the verification is successful.

    5. Prepare information such as the region, appID, cluster ID, vpcID, and Direct Connect gateway ID and submit a ticket to open up the container network.
    6. Select the mode of operation based on the type of protocol used by the IDC.
    • If the IDC uses the BGP protocol, the container IP address range route will be automatically synchronized.
    • If other protocols are used, you need to configure the next hop of the container IP address range in the IDC to be routed to the Direct Connect gateway.
    1. Verify that the container can communicate with the IDC.

    Communication over VPN

    Configuring an SPD Policy

    1. Log in to the VPC console.
    2. On the left sidebar, click VPN Connections > VPN Tunnel to enter the VPN tunnel management page.
    3. Click the ID/name of the local VPN tunnel for which to configure the SPD policy.
    4. On the VPN tunnel details page, click Edit in the SPD Policy column to add the container IP address range.
    5. Click Save.
    6. Repeat step 3 to step 5 to configure the SPD policy for the opposite VPN tunnel.

    Adding a Container IP Address Range

    Note:

    One subnet can be bound to only one routing table. If multiple routing tables are associated, they will be replaced with the last bound one.

    1. On the left sidebar, click Route Table to enter the route table management page.
    2. Find the route table configured when you set intra-region cross-cluster interconnection or set cross-region cross-cluster interconnection. Click the ID/name of the route table to enter the route table details page.
    3. Click + New routing policies to add the container IP range.
    4. Select the Associated Subnets tab and click Create Associated Subnet to associate with the subnet where the CVM instance is.
    5. Repeat step 2 to step 4 to add the IP address range where the Tencent Cloud container is located to the opposite routing device.

    Expected Result

    Containers can communicate with the peer CVM instance as shown below:

    Containers can communicate with VPN opposite servers.

    Note:

    If you want your cloud containers to communicate with your IDC over an IPsec VPN, you need to set the SPD policy and routing table.

    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