Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 5, 2024

Resolves #41

@MartinGroscheTT MartinGroscheTT changed the title Update Readiness Endpoint In Test.Guide Helm Chart Update Readiness Endpoint In test.guide Helm Chart Dec 5, 2024
@MartinGroscheTT MartinGroscheTT self-assigned this Dec 5, 2024
@MartinGroscheTT MartinGroscheTT added the enhancement New feature or request label Dec 5, 2024
Comment on lines 64 to 68
if curl -s http://localhost:{{ .Values.service.targetPort }}{{ .Values.service.readinessPath | default "/api/health/ready" }}; then
exit 0
elif curl -s http://localhost:{{ .Values.service.targetPort }}/api/health/live; then
exit 0
else
Copy link
Member

Choose a reason for hiding this comment

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

this is a more complex solution than I expected. In this implementation it doesn't make much sense, as it would be enough to just check .../live for the same result.

If we want to do a more complex check if test.guide is in maintenance mode, we would need to check for http code 503 and a set Retry-After Header

@MartinGroscheTT MartinGroscheTT merged commit 321f66d into main Dec 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update readiness endpoint in test.guide helm chart

3 participants