Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-05-11 10:41:31
Nodes of a cluster need to run the required Kubernetes and KCE components. Therefore, the capacity of resources on a node is different from that of allocatable resources on the node in a KCE cluster.
To ensure stability of nodes, KCE reserves some resources on the nodes based on the node specifications for Kubernetes components such as kubelet, kube-proxy, and docker.
The allocatable resources on a node are calculated based on the following formula:
Allocatable = Capacity - Reserved - Eviction threshold
Note Allocatable: the resources that can be allocated to pods on the node. Capacity: the total hardware resources of the node. Reserved: the resources that are reserved for system components on the node. Eviction threshold: the resource threshold for evicting pods on the node.
Note total_mem is the total size of memory, and reserved_value is the reserved memory size.
KCE reserves an extra 100 MiB memory on each node for kubelet to evict pods.
Total CPU resources (unit: core) | 2 | 4 | 8 | 16 | 32 |
---|---|---|---|---|---|
Reserved CPU resources (unit: core) | 0.07 | 0.08 | 0.09 | 0.11 | 0.15 |
Total memory (unit: GiB) | 4 | 8 | 16 | 32 | 64 |
---|---|---|---|---|---|
Reserved memory (unit: MiB) | 1,024 | 1,843 | 2,662 | 3,645 | 5,611 |
Pure Mode