Skip to content

Adding of health checks and helm chart liveness, readiness, and startup probes #207

@alextreme

Description

@alextreme

Thema / Theme

Application / devops

Omschrijving / Description

For the Team Bron components:

  • Open Zaak
    
  • Open Notificaties
    
  • Open Objecten
    
  • Open Klant
    

The request is to ensure health check endpoints (based on the structure done in Open Formulieren with maykin-common) are available in a standardised manner

This issue entails for the 4 components specified:

  • Add the health checks (note don't forget the celery/beat checks!)
  • Ensure there are helm chart changes which make use of the health checks for the liveness, readiness and startup probe

Note that the startup probes in combination with data/schemamigrations will be tricky!

Kubernetes Probe Configuration [COMP014.2-probe-config]
Applications MUST implement all three types of probes:

Liveness Probe:

  • Determines if container needs to be restarted
  • MUST be simple and fast (< 1 second response time)
  • Should NOT check dependencies
  • Example: Simple HTTP endpoint returning 200 OK if application can accept requests

Readiness Probe:

  • Determines if container can receive traffic
  • SHOULD check critical dependencies (database, required APIs)
  • MAY have longer timeout than liveness probe
  • Should transition pod out of service gracefully

Startup Probe:

  • For slow-starting applications
  • Disables liveness/readiness checks during startup
  • Prevents premature container restarts
  • Should have generous initial delay and timeout

Toegevoegde waarde / Added value

No response

Aanvullende opmerkingen / Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for approval

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions