Add FPM healthcheck endpoint for using in k8s
andrew-demb opened this issue · 0 comments
andrew-demb commented
We are using k8s and needed to configure a livenessProbe
[1] for pods with nginx + docker-fpm-wrapper (fpm).
It will be nice if docker-fpm-wrapper
will provide a way to use different FPM metrics for control container health.
Feature list for configuring health check may be inspired by renatomefi/php-fpm-healthcheck
[2], such as:
- ping mode
- listen queue length
- etc.
[1] https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
[2] https://github.com/renatomefi/php-fpm-healthcheck