Requirements
Kannika Armory has the following requirements:
- A Kubernetes cluster (1.24+)
System Requirements
Compatible systems
Kannika Armory is available for systems running on amd64
and arm64
architectures.
Hardware requirements
Kannika Armory is predictable in its resource usage. Here are a few guidelines to help you select suitable hardware.
Backup
The Backup requirements scale with the size of your topics and partitions. It roughly needs:
- 10 MB of RAM per partition
- 1 CPU thread per topic
The CPU requirement can vary depending on the throughput of your topics. Kannika Armory should perform just fine with 1 CPU thread per topic producing around 1 MiB/s of data.
A Backup that handles 4 topics with 10 partitions each, with a throughput of around 1MiB/s, the theoretical requirements would be 400 MiB of RAM and 4 CPU threads.
You will need additional computing power if you use compression.
See the section about compression.
The precise amount will depend on the chosen algorithm and the selected quality
setting.
Regarding I/O, expect 128 disk write requests for every MiB received from Kafka, as Kannika Armory works with 8 KiB buffers by default. So, for a 1MiB/s stream, 128 iops. Additionally, using a compression algorithm may reduce the number of disk write accesses by up to 95%.
Restore
The Restore requirements are less critical than the Backup’s. The general idea is that the more resources you allocate, the faster the Restore.
It would be best if you planned for at least the following:
- 512 MB of RAM
- 2 CPU threads
As a rule of thumb, add 256MiB of RAM for every additional thread.