Ref: https://github.com/harvester/harvester/issues/2722

Verify Steps:
- Install Harvester with any nodes
- Login to console, execute
sysctl -a | grep aio, the value offs.aio-max-nrshould be1048576 - Update the value by executing:
mkdir -p /usr/local/lib/sysctl.d/
cat > /usr/local/lib/sysctl.d/harvester.conf <<EOF
fs.aio-max-nr = 61440
EOF
sysctl --system
- Execute
sysctl -a | grep aio, the value offs.aio-max-nrshould be61440 - Reboot the node then execute
sysctl -a | grep aio, the value offs.aio-max-nrshould still be61440 - Create an image for VM creation
- Create 60 VMs and schedule on the node which updated
fs.aio-max-nr - Update
fs.aio-max-nrto1048576in/usr/local/lib/sysctl.d/harvester.confand executesysctl --system - VMs should started successfully or Stopping with error message
Too many pods