6 Star 22 Fork 5

Gitee 极速下载 / k0s

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/k0sproject/k0s
克隆/下载
system-requirements.md 3.81 KB
一键复制 编辑 原始数据 按行查看 历史

System requirements

This page describes the system requirements for k0s.

Minimum memory and CPU requirements

The minimum requirements for k0s detailed below are approximations, and thus your results may vary.

Role Memory (RAM) Virtual CPU (vCPU)
Controller node 1 GB 1 vCPU
Worker node 0.5 GB 1 vCPU
Controller + worker 1 GB 1 vCPU

Controller node recommendations

# of Worker nodes # of Pods Recommended RAM Recommended vCPU
up to 10 up to 1000 1-2 GB 1-2 vCPU
up to 50 up to 5000 2-4 GB 2-4 vCPU
up to 100 up to 10000 4-8 GB 2-4 vCPU
up to 500 up to 50000 8-16 GB 4-8 vCPU
up to 1000 up to 100000 16-32 GB 8-16 vCPU
up to 5000 up to 150000 32-64 GB 16-32 vCPU

k0s has the standard Kubernetes limits for the maximum number of nodes, pods, etc. For more details, see the Kubernetes considerations for large clusters.

k0s controller node measured memory consumption can be found below on this page.

Storage

It's recommended to use an SSD for optimal storage performance (cluster latency and throughput are sensitive to storage).

The specific storage consumption for k0s is as follows:

Role Storage (k0s part)
Controller node ~0.5 GB
Worker node ~1.3 GB
Controller + worker ~1.7 GB

Note: The operating system and application requirements must be considered in addition to the k0s part.

Host operating system

Architecture

  • x86-64
  • ARM64
  • ARMv7

Networking

For information on the required ports and protocols, refer to networking.

External runtime dependencies

k0s strives to be as independent from the OS as possible. The current and past external runtime dependencies are documented here.

To run some automated compatiblility checks on your system, use k0s sysinfo.

Controller node measured memory consumption

The following table shows the measured memory consumption in the cluster of one controller node.

# of Worker nodes # of Pods (besides default) Memory consumption
1 0 510 MB
1 100 600 MB
20 0 660 MB
20 2000 1000 MB
50 0 790 MB
50 5000 1400 MB
100 0 1000 MB
100 10000 2300 MB
200 0 1500 MB
200 20000 3300 MB

Measurement details:

  • k0s v1.22.4+k0s.2 (default configuration with etcd)
  • Ubuntu Server 20.04.3 LTS, OS part of the used memory was around 180 MB
  • Hardware: AWS t3.xlarge (4 vCPUs, 16 GB RAM)
  • Pod image: nginx:1.21.4
Go
1
https://gitee.com/mirrors/k0s.git
git@gitee.com:mirrors/k0s.git
mirrors
k0s
k0s
main

搜索帮助