tencent cloud

Feedback

Quickly Creating a Standard Cluster

Last updated: 2022-05-12 14:44:44

    This document describes how to quickly create a container cluster using TKE.

    Step 1: Signing up for a Tencent Cloud Account

    If you already have a Tencent Cloud account, ignore this step.

    Step 2: Topping Up Online

    TKE charges cluster management fees based on the specifications of the managed clusters, and charges cloud resources fees based on the actual usage. For billing modes and prices, see TKE Billing Overview. In this document, a managed cluster is created. You still need to pay for services such as cluster worker nodes, persistent storage, and CLB instances bound to the service. Before making a purchase, top up your account as instructed in Payment Methods.

    Step 3. Authorizing TKE

    Open the Tencent Cloud console, select Tencent Cloud services > Tencent Kubernetes Engine to enter the TKE console and authorize TKE according to the prompts. If you have already authorized TKE, skip this step.

    Step 4: Creating a Cluster

    Cluster information

    On the Cluster information page, enter the cluster name and select the region of the cluster, the cluster network, and container network. Keep other default options unchanged and click Next.

    • Cluster name: Enter the cluster name. We use "test" as the cluster name in this document.
    • Region: Select a region closest to you. For example, if you are in "Shenzhen", select "Guangzhou".
    • Cluster network: Assign IP addresses within the node network address range to the servers in the cluster. Here we select VPC.
    • Container network: Assign IP addresses within the container network address range to the containers in the cluster. Here, we select an available container network.

    Selecting a model

    On the Select model page, confirm the billing mode, select an availability zone and the corresponding subnet, confirm the node model and click Next.

    • Node source: You can select Add node or Existing nodes. Here, we select "Add node".
    • Master node: You can select from the two cluster modes: Managed and Self-deployed. Here we select "Managed".
    • Billing mode: Only Pay-as-you-go is available.
    • Worker configurations: You only need to select an availability zone and the corresponding subnet and confirm the node model. Keep other default settings unchanged.
      • Availability zone: Here we select "Guangzhou Zone 3".
      • Node network: Here we select the subnet under the current VPC.
      • Model: Here we select "S1.SMALL1 (Standard S1, 1-core 1 GB)".

    CVM configuration

    On the CVM configuration page, select the login method, keep other default settings unchanged, and click Next.

    • Login method: You can select SSH key pair, Random password or Custom password. Here we select "Random password".

    Add-on configurations

    On the Add-on configurations page, you can choose the add-ons you need, including storage, monitoring, image, etc. If you don't need them, click Next. Here, we choose not to install add-ons and keep other default settings unchanged.

    Information confirmation

    On the Confirm information page, confirm the selected configuration information and billing mode for the cluster and click Done.

    You can create your first cluster after paying the bill. Then you can view the managed cluster you create in the TKE console.

    Step 5: Viewing the Cluster

    You can view clusters that have been created in the cluster list. You can click the cluster ID to enter the details page, and then view the cluster, node, and network information on the "Basic information" page.

    Step 6: Deleting Clusters

    Once started, clusters will start to consume resources. To avoid unnecessary costs, you can follow the steps below to clear all the resources.

    1. Select Cluster in the left sidebar. On Cluster management page, select More > Delete on the right of the raw where the cluster to be deleted is located.
    2. Confirm related information in the Delete clusters pop-up window and click Confirm to delete clusters.

    Subsequent Operation: Using a Cluster

    Now you know how to create and delete clusters in TKE. You can set workloads and create services in the clusters. Common tasks include:

    Troubleshooting

    If you encounter any problem during the process, submit a ticket to contact us.

    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