tencent cloud

Feedback

Service Cross-region Binding

Last updated: 2022-05-06 10:47:41

    Overview

    When you use the Service of public network CLB type, the CLB is generated for random availability zone in the VPC where the cluster resides by default. Currently, TKE Service of public network CLB allows you to specify availability zones, including availability zones in other regions. This document describes how to bind and specify availability zones for CLB Service across regions via the console and YAML.

    Use Cases

    • The cross-region access or cross-VPC access of CLB must be supported. That is, the VPC where the CLB resides and the VPC where the cluster resides are not in the same VPC.
    • The availability zone of CLB must be specified to realize unified management of resources.
    Note:

    1. Cross-region binding is only available to bill-by-IP accounts.
    2. If you need to use the CLB that is not in the same VPC as this cluster, you need to connect the VPCs of the current cluster and the CLB via CCN.
    3. After the VPCs are connected, please submit a ticket to apply for this feature.
    4. You should enter the region ID in the following YAML. You can check the region ID in Regions and Availability Zones.

    Directions

    You can bind and specify availability zones for CLB Service across regions via the console and YAML.

    1. Log in to the TKE console and click Cluster in the left sidebar.
    2. In the Cluster page, click the ID of the cluster for which you need to create a Service to go to the cluster management page.
    3. Select Services and Routes > Service to go to the Service management page, as shown below:
    4. Click Create to go to the Create Service page.
    5. Configure the availability zone rules in the “Create Service” page. The configuration rules are as follows:
    • Service Access: select LoadBalancer (public network).
    • Current VPC: use the CLB in the VPC where the cluster resides. Random AZ is recommended to avoid the instance creation failure due to the resource shortage in the specified availability zone.
    • Other VPC: it only supports the VPC that has connected to the VPC of the current cluster via CCN. Random AZ is recommended to avoid the instance creation failure due to the resource shortage in the specified availability zone.
    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