Skip to content

Add FPM healthcheck endpoint for using in k8s #2

Description

@andrew-demb

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions