Commit Graph

4 Commits (c889d0f22bf3d3c4a207d4800bc9f8fb1ccf6a08)

Author SHA1 Message Date
Brett Buddin b4703566a8
feat(kit/check): Adds manual override capabilities to readiness endpoint.
With `/health`, it is possible to override the overall status reported.
This change adds the same functionality to `/ready`. This allows
incident responders to take an unhealthy pod out of a service without
killing it—giving them time to gather meaningful forensic data from the
pod. The new contract is:

Force not ready:

    GET /ready?force=true&ready=false

Force ready:

    GET /ready?force=true&ready=true

Disable override:

    GET /ready?force=false
2019-12-30 09:42:31 -05:00
Todd Persen cd64ec8718 Fix typos in miscellaneous packages 2019-04-17 13:30:22 -07:00
Tanya Gordeeva 691ee23027 check: restore force healthy
Restores a force healthy/unhealthy option previously in 2.0 code.
2019-03-13 21:31:44 -07:00
Lyon Hill 6489f33200
feat(api/health): Add a standardized health and ready check system (#1961)
* feat(api/health): Add a standardized health and ready check system

Build a system that can be used for both ready and health checking.
It can be used directly as a http.Handler and can be given a passthrough handler,
allowing it to operate as middleware.
2018-12-14 23:20:53 -07:00