-
Notifications
You must be signed in to change notification settings - Fork 17
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
fix: adjust startup, liveness and readiness probes settings #50
fix: adjust startup, liveness and readiness probes settings #50
Conversation
Startup probe settings seem to have been added in the upstream Backstage Chart in [1], but the current settings do not allow the RHDH Chart for the liveness probe to be triggered sufficiently enough for the app to be considered live. This adjust such settings by accounting for the worst case scenario where the application might take a bit long to start. This also aligns the probe endpoints with the upstream chart. [1] backstage/charts#216
/uncc @kadel |
/cherry-pick release-1.4 |
@rm3l: once the present PR merges, I will cherry-pick it on top of In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This fixes the problem that we have, but why not just remove the probe definitions from the RHDH sub-chart and rely on the inherited values from the upstream RHDH chart? I've tested them and it should work |
Co-authored-by: Patrick Knight <pknight@redhat.com> Co-authored-by: Gustavo Lira e Silva <guga.java@gmail.com>
when cherrypicking this to the so the same patch has to be applied to https://github.com/redhat-developer/rhdh-chart/blob/release-1.4/charts/backstage/Chart.yaml 2.23.0 -> 2.23.1 |
That was exactly the issue. The upstream chart defines the probes (including the startup probe) here, but the default thresholds and periods do not seem sufficient to cover the RHDH application. |
…liveness and readiness probes Co-authored-by: Nick Boldt <nboldt@redhat.com>
Quality Gate passedIssues Measures |
@rm3l: #50 failed to apply on top of branch "release-1.4":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
…eveloper#50) * Adjust startup, liveness and readiness probes settings Startup probe settings seem to have been added in the upstream Backstage Chart in [1], but the current settings do not allow the RHDH Chart for the liveness probe to be triggered sufficiently enough for the app to be considered live. This adjust such settings by accounting for the worst case scenario where the application might take a bit long to start. This also aligns the probe endpoints with the upstream chart. [1] backstage/charts#216 * Update Chart version * Update charts/backstage/values.yaml Co-authored-by: Patrick Knight <pknight@redhat.com> Co-authored-by: Gustavo Lira e Silva <guga.java@gmail.com> * Add comment explaining why there is no 'initialDelaySeconds' on both liveness and readiness probes Co-authored-by: Nick Boldt <nboldt@redhat.com> --------- Co-authored-by: Patrick Knight <pknight@redhat.com> Co-authored-by: Gustavo Lira e Silva <guga.java@gmail.com> Co-authored-by: Nick Boldt <nboldt@redhat.com>
* Adjust startup, liveness and readiness probes settings Startup probe settings seem to have been added in the upstream Backstage Chart in [1], but the current settings do not allow the RHDH Chart for the liveness probe to be triggered sufficiently enough for the app to be considered live. This adjust such settings by accounting for the worst case scenario where the application might take a bit long to start. This also aligns the probe endpoints with the upstream chart. [1] backstage/charts#216 * Update Chart version * Update charts/backstage/values.yaml Co-authored-by: Patrick Knight <pknight@redhat.com> Co-authored-by: Gustavo Lira e Silva <guga.java@gmail.com> * Add comment explaining why there is no 'initialDelaySeconds' on both liveness and readiness probes Co-authored-by: Nick Boldt <nboldt@redhat.com> --------- Co-authored-by: Patrick Knight <pknight@redhat.com> Co-authored-by: Gustavo Lira e Silva <guga.java@gmail.com> Co-authored-by: Nick Boldt <nboldt@redhat.com> fix URLs and bump to 2.24.2 in 1.4 branch Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com>
* Adjust startup, liveness and readiness probes settings Startup probe settings seem to have been added in the upstream Backstage Chart in [1], but the current settings do not allow the RHDH Chart for the liveness probe to be triggered sufficiently enough for the app to be considered live. This adjust such settings by accounting for the worst case scenario where the application might take a bit long to start. This also aligns the probe endpoints with the upstream chart. [1] backstage/charts#216 * Update Chart version * Update charts/backstage/values.yaml * Add comment explaining why there is no 'initialDelaySeconds' on both liveness and readiness probes --------- fix URLs and bump to 2.24.2 in 1.4 branch Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com> Co-authored-by: Armel Soro <armel@rm3l.org>
Description of the change
Startup probe settings seem to have been added in the upstream Backstage Chart
in [1], but the current settings do not allow the RHDH Chart for the
liveness probe to be triggered sufficiently enough for the app to be
considered live.
This adjust such settings by accounting for the worst case scenario
where the application might take a bit long to start.
This also aligns the probe endpoints with the upstream chart.
[1] backstage/charts#216
Existing or Associated Issue(s)
Additional Information
Checklist
Chart.yaml
according to semver.values.yaml
and added to the README.md. The pre-commit utility can be used to generate the necessary content. Usepre-commit run -a
to apply changes.pre-commit
hook.ct lint
command.