|
本文档采用自动化机器翻译技术翻译。 尽管我们力求提供准确的译文,但不对翻译内容的完整性、准确性或可靠性作出任何保证。 若出现任何内容不一致情况,请以原始 英文 版本为准,且原始英文版本为权威文本。 |
Resource Profiling
This section captures the results of tests to determine minimum resource requirements for RKE2.
Scope of Resource Testing
The resource tests were intended to address the following problem statements:
-
On a single-node cluster, determine the legitimate minimum amount of CPU and memory entire RKE2 server stack, assuming that a real workload will be deployed on the cluster.
-
On an agent node, determine the legitimate minimum amount of CPU and memory that should be set aside for the kubelet and RKE2 agent components.
Environment and Components
| Arch | OS | System | CPU | RAM | Disk |
|---|---|---|---|---|---|
x86_64 |
Ubuntu 22.04 |
AWS c6id.xlarge |
Intel Xeon Platinum 8375C CPU, 4 Core 2.90 GHz |
8 GB |
NVME SSD |
The tested components are:
-
RKE2 v1.27.12 with all packaged components enabled, Canal as the CNI
Methodology
systemd-cgtop was used to track systemd cgroup-level CPU and memory utilization.
-
system.slice/rke2-server.servicetracks resource utilization for both RKE2 and containerd components. -
system.slice/rke2-agent.servicetracks resource utilization for the agent components.
Utilization figures were based on 95th percentile readings from steady state operation on nodes running the described workloads, giving an upper bounds on typical resource usage.
RKE2 Server with a Workload
These are the requirements for a single-node cluster in which the RKE2 server shares resources with a simple workload.
| System | CPU Core Usage | Memory |
|---|---|---|
Intel 8375C |
17% of a core |
4977 MB |