Skip to content

Remove stale service.ready file - #1799

Open
MariemBaccari wants to merge 1 commit into
interuss:masterfrom
Orbitalize:delete_service_ready
Open

MariemBaccari wants to merge 1 commit into
interuss:masterfrom
Orbitalize:delete_service_ready

Conversation

@MariemBaccari

Copy link
Copy Markdown
Contributor

This PR removes any pre-existing service.ready file to avoid the container showing up as healthy when it's still starting as described in the last paragraph in #1793.

@mickmis mickmis left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

IMO we should go the other way around:

  • remove the file being written
  • add curl to packages being installed in dockerfile
  • change healthcheck to query locally HTTP server at /healthy and expect 200

This is more standard and more resilient. I'm actually surprised we do it that way even though we have the /healthy endpoint implemented. Right now if the process hangs in the container, it would still report healthy because it finds the file...

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants