tencent cloud


Changing Health Check Source IP

Last updated: 2022-01-23 16:50:54

    This document describes how to change the source IP of CLB health check from the default CLB VIP to the 100.64 IP range.


    This feature is currently in beta test. To try it out, submit a ticket.

    Use Cases

    1. Aggregating real server security groups
      The health check source IP is aggregated into the IP range.

    2. Solving the problem of private network loopback in self-built Kubernetes cluster
      The K8s service needs to be exposed both inside and outside the cluster. The former is implemented through the cluster's internal load balancing (IPVS), and the latter is implemented through private network CLB. IPVS will bind the IP address of the private network CLB instance to a local interface, so that access to the instance address in the cluster is actually to use the IPVS load balancing in the cluster.
      In the TKE service, the private network CLB uses the CLB VIP as the health check source IP, which conflicts with the address bound to the IPVS in the native K8s implementation, resulting in the failure of private network CLB health check.
      Setting the health check source IP to the 100.64 IP range can avoid address conflicts and solve the problem of health check failures.


    This document takes a TCP listener as an example to describe how to change the source IP of CLB health check from the default CLB VIP to the 100.64 IP range.

    1. Log in to the CLB console.
    2. Select a region in the top-left corner of the Instance Management page, find the target instance in the instance list, and click Configure Listener in the Operation column.
    3. On the Listener Management tab, find the target listener, and click the icon on its right to edit it.
    4. In the Edit Listener pop-up window, click Next to enter the Health Check tab.
    5. On the Health Check tab, select 100.64 IP range as the health check source IP, click Next, and click Submit.

    Relevant Documentation

    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