Skip to content

Conversation

@sanderegg
Copy link
Member

@sanderegg sanderegg commented Jun 5, 2025

What do these changes do?

This PR adds a docker healthcheck on the docker container running ops-traefik.
Having docker healtcheck is a good practice such that the orchestrator may have a chance to know what is the status of the container. and that it can restart it in case it does not respond in time.

Additionally I remove the transport.respondingTimeouts.idleTimeout=21600s #6h
as this means that idle keep-alive connection are kept during 6 hours, consuming resources during that time. The default is 180s and is a good compromise as keeping connections up for nothing means consuming file descriptors and memory.

Related issue/s

Related PR/s

Checklist

  • I tested and it works

@sanderegg sanderegg self-assigned this Jun 5, 2025
@sanderegg sanderegg added the t:enhancement New feature or request label Jun 5, 2025
@sanderegg sanderegg added this to the Bazinga! milestone Jun 5, 2025
@sanderegg sanderegg marked this pull request as ready for review June 5, 2025 07:28
@YuryHrytsuk
Copy link
Collaborator

Could you please add the corresponding simcore traefik change to the Related PR(s) section

@sanderegg sanderegg requested a review from YuryHrytsuk June 5, 2025 07:38
@YuryHrytsuk YuryHrytsuk self-requested a review June 5, 2025 07:44
Copy link
Collaborator

@YuryHrytsuk YuryHrytsuk left a comment

Choose a reason for hiding this comment

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

Thanks!

@sanderegg sanderegg merged commit 6663c28 into ITISFoundation:main Jun 5, 2025
3 checks passed
@sanderegg sanderegg deleted the enhancements/add-traefik-healthcheck branch June 5, 2025 07:55
YuryHrytsuk added a commit to YuryHrytsuk/osparc-ops-environments that referenced this pull request Jun 5, 2025
Since introduction of traefik healthcheck we need settings that are not
supported by 3.7

Bonus:
* Remove unused dns and http compose files

Related PR(s):
* ITISFoundation#1068
YuryHrytsuk added a commit that referenced this pull request Jun 5, 2025
Since introduction of traefik healthcheck we need settings that are not
supported by 3.7

Bonus:
* Remove unused dns and http compose files

Related PR(s):
* #1068
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Traefik is missing a docker healthcheck

2 participants