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

fix: adjust startup, liveness and readiness... #52

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

nickboldt
Copy link
Member

What does this PR do?

fix: adjust startup, liveness and readiness probes settings (#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 [email protected]
Co-authored-by: Gustavo Lira e Silva [email protected]

  • Add comment explaining why there is no 'initialDelaySeconds' on both liveness and readiness probes

Co-authored-by: Nick Boldt [email protected]


Co-authored-by: Patrick Knight [email protected]
Co-authored-by: Gustavo Lira e Silva [email protected]
Co-authored-by: Nick Boldt [email protected]

fix URLs and bump to 2.24.2 in 1.4 branch

Signed-off-by: RHDH Build (rhdh-bot) [email protected]

Screenshot/screencast of this PR

N/A

What issues does this PR fix or reference?

N/A (or see commit message above for issue number)

How to test this PR?

N/A

PR Checklist

As the author of this Pull Request I made sure that:

  • Code produced is complete
  • Code builds without errors
  • Tests are covering the bugfix
  • Relevant user documentation updated
  • Relevant contributing documentation updated

Reviewers

Reviewers, please comment how you tested the PR when approving it.

* 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 <[email protected]>
Co-authored-by: Gustavo Lira e Silva <[email protected]>

* Add comment explaining why there is no 'initialDelaySeconds' on both liveness and readiness probes

Co-authored-by: Nick Boldt <[email protected]>

---------

Co-authored-by: Patrick Knight <[email protected]>
Co-authored-by: Gustavo Lira e Silva <[email protected]>
Co-authored-by: Nick Boldt <[email protected]>

fix URLs and bump to 2.24.2 in 1.4 branch

Signed-off-by: RHDH Build (rhdh-bot) <[email protected]>
Copy link
Member

@rm3l rm3l left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Dec 13, 2024
@rm3l rm3l merged commit 313da67 into release-1.4 Dec 13, 2024
5 of 6 checks passed
@rm3l rm3l deleted the liveness-fix-1.4 branch December 13, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants