-
Notifications
You must be signed in to change notification settings - Fork 363
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
Readiness health checks story 7 respect defined interval #3385
Merged
moleske
merged 11 commits into
cloudfoundry:readiness-health-checks
from
mariash:readiness-health-checks-story-7-respect-defined-interval-latest
Aug 14, 2023
Merged
Readiness health checks story 7 respect defined interval #3385
moleske
merged 11 commits into
cloudfoundry:readiness-health-checks
from
mariash:readiness-health-checks-story-7-respect-defined-interval-latest
Aug 14, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… manifest Signed-off-by: Maria Shaldybin <[email protected]>
Signed-off-by: Josh Russett <[email protected]>
Signed-off-by: Maria Shaldybin <[email protected]>
Signed-off-by: Maria Shaldybin <[email protected]>
…fest Signed-off-by: Maria Shaldybin <[email protected]>
… diff Signed-off-by: Josh Russett <[email protected]>
… docs Signed-off-by: Maria Shaldybin <[email protected]>
…esses Signed-off-by: Josh Russett <[email protected]>
Signed-off-by: Maria Shaldybin <[email protected]>
Signed-off-by: Josh Russett <[email protected]>
…ling deploy Signed-off-by: Maria Shaldybin <[email protected]>
tcdowney
approved these changes
Aug 10, 2023
moleske
approved these changes
Aug 14, 2023
moleske
pushed a commit
that referenced
this pull request
Aug 17, 2023
* Add readiness health check properties to app manifest * Set readiness health check properties on process Now when a user supplies the readiness health check properties via the app manifest, the values are stored on the process, and saved in the database. * correctly default to process for readiness_health_check_type * Refactor: add base health check policy class * Set readiness health check properties on LRP * Refactor: app recipe builder now with more ruby style! * Fix: readiness hcs default to process not empty * Add readiness health check properties to /v3/apps/:guid/manifest * Return diff for readiness check properties in /v3/spaces/:space_guid/manifest_diff * Readiness health checks story 5 processes (#3370) * Add readiness health check properties to process endpoints GET /v3/processes GET /v3/processes/:guid PATCH /v3/processes/:guid GET /v3/apps/:guid/processes GET /v3/apps/:guid/processes/:type PATCH /v3/apps/:guid/processes/:type POST /v3/apps/:guid/processes/:type/actions/scale * Add readiness health check examples to API docs * Rolling deploy respects readiness health check (#3373) ActualLRP has routable set to true once readiness health check succeeds. In case if routable is not provided instance reporter sets it to true for backwards compatibility. * Readiness health checks story 7 respect defined interval (#3385) * Validate health_check_interval/readiness_health_check_interval in the manifest * Save health_check_interval/readiness_health_check_interval in database * Regenerate bbs protobuf models * Pass health_check_interval/readiness_health_check_interval in LRP * Display health_check_interval/readiness_health_check_interval in manifest * Add health-check-interval/readiness-health-check-interval to manifest diff * Add health-check-interval/readiness-health-check-interval to manifest docs * Add health_check_interval/readiness_health_check_interval to /v3/processes * Add health_check_interval/readiness_health_check_interval to API docs * Copy health_check_interval/readiness_health_check_interval during rolling deploy * add need readiness check doc to index * Disable rubocop cyclomaticcomplexity for some functions - these functions are idomatic ruby with no nested if statements - rubocop is just counting if statements so no current concerns - please review if this changes * Do not use text:true on readiness health check to process - see https://github.com/cloudfoundry/cloud_controller_ng/wiki/CAPI-Migration-Style-Guide#always-specify-a-size-for-a-string-and-dont-use-text Signed-off-by: Marc Paquette <[email protected]> Signed-off-by: Amelia Downs <[email protected]> Signed-off-by: Renee Chu <[email protected]> Signed-off-by: Maria Shaldybin <[email protected]> Signed-off-by: Josh Russett <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is part of a larger effort detailed here in this Cloud Controller PR and here in this CFF RFC.
In this story
Health check interval for both liveness and readiness health checks right now is configured in diego-release. We want to make it configurable in the app manifest so that app developers have more control over the health check process of the app.
health-check-interval
andreadiness-health-check-interval
is an integer > 0health-check-interval
andreadiness-health-check-interval
in CC DBAcceptance Setup
For liveness health check:
For readiness health check: