tencent cloud

Feedback

Creating a Virtual Node

Last updated: 2022-05-23 16:56:35

    Introduction on Virtual Node

    A virtual node is a scheduling capability provided by an elastic cluster. When an elastic cluster is created, a virtual node is created in each subnet where the container network is located.

    You can create a virtual node in the following use cases:

    • When you run a large scale of Workloads in an elastic cluster, a Pod cannot be created due to the exhaustion of IP resources of the subnet in the AZ where the service is located. We recommend you create virtual nodes in a new subnet to obtain more IP resources.

    • As service scale expands, services need to be automatically broken down and distributed in multiple AZs. We recommend you create virtual nodes in a new subnet to expand the resource AZ.

    • When you create a Workload, Pod pending will be caused by resource shortage in the AZ. This may be reflected in the following cluster events:

      EVENT REASON : "FailedCreatePodSandBox"
      EVENT MESSAGE : "Failed to create pod sandbox in underlay (will retry): insufficient resource"
      

      You can create virtual nodes associated with other AZs to expand the available resources in the cluster.

    Billing Mode

    Virtual nodes are not billed, and fees will be charged based on the CPU, GPU, and memory applied for a workload as well as the workload running time. For more information, see Billing Overview, Product Pricing, and Purchase Limits.

    Overview

    This document describes how to create virtual nodes in an elastic cluster in the TKE console.

    Prerequisites

    Directions

    1. Log in to the TKE console and click Elastic Container > Elastic Cluster in the left sidebar.
    2. On the Elastic cluster list page, click the target cluster ID to enter the Deployment page.
    3. Click Virtual node in the left sidebar to enter the virtual node list page.
    4. Click Create node. In the Create virtual node pop-up window, set the fields as instructed below.
    • Container network: Specify the network allocated when Pods are scheduled to a virtual node. The Pods scheduled to the virtual node are on the same VPC as Tencent Cloud services such as CVM and TencentDB. Each Pod will occupy an IP address of the VPC subnet. You can select any subnet of the VPC where the elastic cluster is located, as long as it has sufficient IP addresses to meet your needs.
    1. Click OK.

    After a virtual node is created, see Managing a Virtual Node for other operations.

    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