How many Kata containers can I run on my QNAP device?
Applicable products:
- x86 processor NAS series
- Container Station 2.5 (or later)
Answer
You can run Kata containers using Container Station on QNAP devices equipped with x86 processors and 4GB RAM or above. Since lightweight Kata Containers may consume additional system resources, it is not possible to calculate the exact number of containers a host can run. This FAQ provides a brief overview on how to determine the approximate number of containers that can run on a host device by calculating the CPU and memory information.
CPU and Memory Requirements
QNAP recommends reserving at least the below specified memory for system and services of different operating systems. The remaining available memory can be utilized to install Kata Containers on Container Station. Before installing a container, check the VM memory utilization in Virtualization Station and make sure enough memory is available.
Operating System | Reserved Memory | Recommended CPU |
---|---|---|
QTS | 1.5 GB | 2 vCPUs per physical CPU thread |
QuTS hero | 50% of total memory |
Examples
The following section provides detailed examples for installing and running Kata Containers using 1 vCPU and 512 MB memory.
-
TS-451D2-4G
- Operating system: QTS
- Total memory: 4 GB
- Reserved system memory: 1.5 GB
- Available memory for Kata Containers: 2.5 GB
- Number of physical CPU threads: 2
- Recommended vCPUs: 4
It is recommended to install 4 Kata Containers for devices with 2 physical CPU threads and 2.5 GB available memory for optimal performance.
-
TVS-672X-i5-8G
- Operating system: QTS
- Total memory: 8 GB
- Reserved system memory: 1.5 GB
- Available memory for Kata Containers: 6.5 GB
- Number of physical CPU threads: 6
- Recommended vCPUs: 12
It is recommended to install 12 Kata Containers for devices with 6 physical CPU threads and 6.5 GB available memory for optimal performance.
-
TVS-h1688X-W1250-32G
- Operating system: QuTS hero
- Total memory: 32 GB
- Reserved system memory: 16 GB
- Available memory for Kata Containers: 16 GB
- Number of physical CPU threads: 12
- Recommended vCPUs: 24
It is recommended to install 24 Kata Containers for devices with 12 physical CPU threads and 16 GB available memory for optimal performance.