Skip to content

fix(chart): add probes to the API Deployment #253

Closed

Description

@uniqueg

The tesk-api Deployment of the Helm chart has no probes. helm install --wait therefore returns as soon as the pod runs, about a minute before the API answers, and the Ingress answers 502 Bad Gateway until then (found while writing the MicroK8s guide, #252).

Proposal

  • Add a startup, a readiness and a liveness probe to the API container. They request GET <ingress.path><tesApiBasePath>/service-info, which the API serves from a local file, without a backend. With auth.mode: auth and auth.serviceInfoPublic: false, that endpoint needs a token, so the probes check the port instead.
  • Make them configurable with camelCase values (tesk.startupProbe, tesk.readinessProbe, tesk.livenessProbe), with defaults that allow the slow start.
  • Keep the selectors and names unchanged.
  • Test them with the chart tests (tests/test_chart.py), verify with helm install --wait on a throwaway cluster, and update the configuration reference and the MicroK8s guide.

Activity

  1. added
    priority: medium
    status: triage
    type: bug
    workload: hours
    on Nov 7, 2026
  2. added
    type: delivery
    and removed
    status: triage
    on Nov 7, 2026
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

    priority: mediumtype: bugtype: deliveryworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions