We have a kubernetes cluster running in Google GKE. I want to permanently set another value for fs.aio-max-nr
in sysctl, but it keeps changing back to default after running sudo reboot
.
This is what I've tried:
sysctl -w fs.aio-max-nr=1048576
echo 'fs.aio-max-nr = 1048576' | sudo tee --append /etc/sysctl.d/99-gke-defaults.conf
echo 'fs.aio-max-nr = 1048576' | sudo tee --append /etc/sysctl.d/00-sysctl.conf
Is it possible to change this permanently? And why isn't there a etc/sysctl.config
but two sysctl files in sysctl.d/
folder?