Resource specification

Last updated: 2020-04-28 18:47:38

    Overview

    Elastic Kubernetes Service (EKS) can free you from managing cluster nodes. However, to properly allocate resources and accurately calculate fees, you need to specify resource specifications for a pod when deploying a workload. Based on the specified specifications, Tencent Cloud allocates resources to the workload and calculates the fees accordingly.

    When creating a workload for EKS through the Kubernetes API or kubectl, you also need to specify the resource specifications. For more information, see Workload Management.

    • The resource specification indicates the maximum amount of resources available for the containers in a pod.
    • The total amount of resources specified by Request for all the containers in a pod cannot exceed the corresponding resource specification of the pod.
    • The amount of resources specified by Limit for any container in a pod cannot exceed the corresponding resource specification of the pod.
    • You must specify the resource specifications for a pod when creating a workload for the pod. Otherwise, the creation fails.

    Supported Regions

    The following table describes the regions, availability zones, and resource types that are currently supported by EKS.

    Region Availability Zone Supported Resource Type
    South China (Guangzhou)
    ap-guangzhou
    Guangzhou Zone 3
    ap-guangzhou-3
    CPU
    East China (Shanghai)
    ap-shanghai
    Shanghai Zone 2
    ap-shanghai-2
    CPU
    Shanghai Zone 3
    ap-shanghai-3
    CPU
    North China (Beijing)
    ap-beijing
    Beijing Zone 3
    ap-beijing-3
    CPU

    CPU Specifications

    EKS provides the following CPU specifications for pods in all regions where CPU resources are supported. EKS also provides a set of CPU options. Different CPU sizes correspond to different memory ranges. When creating a workload, you should specify the CPU specification based on your actual need.

    CPU (Core) Memory Range (GiB) Granularity of Memory Range (GiB)
    0.25 0.5, 1, 2 -
    0.5 1, 2, 3, 4 -
    1 2 - 8 1
    2 4 - 16 1
    4 8 - 32 1
    8 16 - 32 1
    12 24 - 48 1
    16 32 - 64 1

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help