Closed Anonyymi closed 1 year ago
Currently running on 2GB RAM with Microk8s and php-fpm can consume all OS memory eventually crashing the server.
Adapt PHP-FPM pool configuration from here: https://github.com/Anonyymi/minilauta-ansible/blob/master/roles/php/files/pool.d/www.conf
This config is tested in action and has worked on low memory server for a whole year with no issues.
Done.
Set both RAM requests and limits for service pods. This is to make sure they get the memory they deserve and not less and no more.
https://home.robusta.dev/blog/stop-using-cpu-limits