Software version requirements

SoftwareVersion Requirements
Docker>= 1.20
Kubernetes>= 1.19
Doris>= 2.0.0
Helm (optional)>= 3.7

Operating system requirements

Firewall configuration

When deploying a Doris cluster on Kubernetes, it is recommended to turn off the firewall configuration:

  1. systemctl stop firewalld
  2. systemctl disable firewalld

If the firewall service cannot be turned off, you can open the FE and BE ports according to your plan:

Cluster Environment Requirements - 图1Tip

If the firewall cannot be turned off, you need to open the firewall of the corresponding Doris port according to the Kubernetes mapping rules. For specific ports, please refer to [Doris Cluster Port Planning](/docs/3.0/install/cluster-deployment/standard-deployment#Network Requirements).

Disable and close swap

When deploying Doris, it is recommended to turn off the swap partition.

The swap partition can be permanently shut down with the following command.

  1. echo "vm.swappiness = 0">> /etc/sysctl.conf
  2. swapoff -a && swapon -a
  3. sysctl -p

Set the maximum number of open file handles in the system

  1. vi /etc/security/limits.conf
  2. * soft nofile 65536
  3. * hard nofile 65536

Modify the number of virtual memory areas

Modify the virtual memory area to at least 2000000

  1. sysctl -w vm.max_map_count=2000000

Close transparent large page

When deploying Doris, it is recommended to turn off transparent huge pages.

  1. echo never > /sys/kernel/mm/transparent_hugepage/enabled
  2. echo never > /sys/kernel/mm/transparent_hugepage/defrag