Kubernetes: NGINX/PHP-FPM graceful shutdown and 502 errors
We have a PHP application running with Kubernetes in pods with two dedicated containers — NGINX и PHP-FPM.
The problem is that during downscaling clients get 502 errors. E.g. when a pod is stopping, its containers can not correctly close existing con...
setevoy.hashnode.dev9 min read