Skip to content

Add fallback simcore traefik routes #950

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

YuryHrytsuk
Copy link
Collaborator

@YuryHrytsuk YuryHrytsuk commented Jan 27, 2025

What do these changes do?

  • Add fallback routes for simcore traefik
  • Add fallback routes for simcore invitations

image

Read more in ITISFoundation/osparc-simcore#7899

Next steps

Serve custom html / json content to users if service is not in running state but keep 503 errors coming from a running (docker healthy) and ready (traefik lb healthy) services

Related issue/s

Related PR/s

Checklist

  • I tested and it works

@YuryHrytsuk
Copy link
Collaborator Author

YuryHrytsuk commented Feb 14, 2025

Next progress shall be done during sprint that follows Singularity

Traefik placeholder will be used to define low priority traeifk
configuration that will kick in once main docker serviec is not heathy
(its configuration is removed)
This shall be done in separate PR. First we introduce proper 503 status
codes and then we sync about serving some content
Check first commit for explanations
YuryHrytsuk added a commit to YuryHrytsuk/osparc-simcore that referenced this pull request Jun 13, 2025
Add fallback routes that will take effect once main services (e.g.
webserver is not in `running` state). Once service is not in `running`
state, its configuration is removed from traefik leading to 404.

Related Issue(s):
* ITISFoundation/osparc-ops-environments#218

Related PR(s):
* ITISFoundation/osparc-ops-environments#950
@YuryHrytsuk YuryHrytsuk marked this pull request as ready for review June 13, 2025 14:33
@YuryHrytsuk YuryHrytsuk requested a review from mrnicegyu11 as a code owner June 13, 2025 14:33
@YuryHrytsuk YuryHrytsuk changed the title Add fallback nginx to serve "something went wrong" Add fallback simcore traefik routes Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add fallback nginx to serve "something went wrong"
1 participant