Skip to content

Wire sidecar pod probes to the new /health (liveness) and /health/ready (readiness) endpoints #19

Description

@fupelaqu

Follow-up to softclient4es-arrow#146, implemented in softclient4es-arrow#148.

The sidecar now exposes an HTTP health probe (default port 32011, ARROW_HEALTH_PORT / ARROW_HEALTH_HOST, enabled by default):

  • GET /healthliveness: 503 only for restart-fixable conditions (process-wide fatal-error latch — e.g. a survived OutOfMemoryError — and dead executors). Point livenessProbe here.
  • GET /health/readyreadiness: liveness + the allocator-headroom threshold (ARROW_HEALTH_ALLOCATOR_THRESHOLD_PERCENT, meaningful when ARROW_MAX_MEMORY is set). Point readinessProbe here so a memory-pressured sidecar stops receiving new queries without being killed mid-query.

The chart's sidecar pods currently rely on TCP-reachability probes, which stay green while the process degrades (the original arrow#146 blind spot). Suggested change: httpGet probes on port 32011 for both, with the port templated from the sidecar env, and the container port 32011 declared.

🤖 Generated with Claude Code

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