Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kit/check): Manual Overrides for Readiness Endpoint #16336

Merged
merged 2 commits into from
Dec 30, 2019

Conversation

brettbuddin
Copy link
Contributor

@brettbuddin brettbuddin commented Dec 27, 2019

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

@brettbuddin brettbuddin changed the title Manual Overrides for Readiness Endpoint feat(kit/check): Manual Overrides for Readiness Endpoint Dec 27, 2019
@brettbuddin brettbuddin requested a review from a team December 27, 2019 16:47
@ghost ghost requested review from aanthony1243 and removed request for a team December 27, 2019 16:47
Copy link
Contributor

@lyondhill lyondhill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very clean change! looks good

…int.

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
@brettbuddin brettbuddin merged commit a207147 into master Dec 30, 2019
@brettbuddin brettbuddin deleted the ready-manual-override branch December 30, 2019 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants