Skip to content

[app] Probes for the php-fpm container and startupProbes across workloads #5

Description

@henzigo

Context

  • The php-fpm container has no probes at all — a wedged FPM master keeps receiving traffic
    until the nginx sidecar (which only checks its own /health stub) fails.
  • All probes use initialDelaySeconds (30 s liveness delays) instead of startupProbe,
    which slows down rollouts and masks slow starts.

Proposal

  1. Add probes to the php-fpm container: tcpSocket: 9000 as a minimum; ideally enable the FPM
    status page (pm.status_path = /status) in the shipped www.conf and probe it via
    cgi-fcgi/HTTP through nginx.
  2. Introduce startupProbe for php-fpm, nginx, storefront and redis, and reduce
    initialDelaySeconds on liveness/readiness accordingly.
  3. Expose all of it through the existing per-component probe values (already supported by the
    component schema).

Tasks

  • php-fpm probes (+ optional FPM status page in www.conf)
  • startupProbes for webserver/storefront/redis
  • Unit tests for probe overrides, golden snapshot regeneration
  • Validate rollout timing on a real cluster

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

    area/app-chartshopsys-app chart (workloads, ingresses, secrets, hooks)behavior-changechanges rendered manifests - regenerate golden snapshots + update deviations docenhancementNew feature or requestpriority/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions