question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add or document livelihood/readiness endpoints for the Trigger Service

See original GitHub issue

What is the problem you want to solve?

I would like to be able to use widely used tools (e.g. Kubernetes) to manage Trigger Service instances so that I can effectively achieve high availability of the service on my deployment.

What is the solution you would propose?

Add a /readyz and /livez endpoint like the HTTP JSON API Service.

Describe alternatives you’ve considered

Using another endpoint to check for the livelihood of the service, but I’m not sure about which one could be used to this end. If the problem can be solved that way, I’d find it satisfactory to document this.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
garyverhaegen-dacommented, May 9, 2022

FYI /livez is already documented. I see no reference to /readyz in either docs or source.

1reaction
stefanobaghino-dacommented, May 17, 2022

The main reason to have a readyz endpoint is to enable customers using standard container orchestration tooling i.e. Kubernetes. I would recommend to:

  • add a readyz endpoint
  • ensure that the behavior of the livez endpoint matches the semantics expected by Kubernetes

Both points are important to enable users to operate a fleet of containers running Daml runtime components.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Does the OAuth 2.0 Auth Middleware provide health endpoints ...
Both the HTTP JSON API service and the Trigger Service expose health ... as part of Add or document livelihood/readiness endpoints for the...
Read more >
Readiness vs liveliness probes: How to set them up and when ...
Readiness probes are designed to let Kubernetes know when your app is ready to serve traffic. Kubernetes makes sure the readiness probe passes ......
Read more >
Documentation Best Practices for Washington State Workers ...
The provider's documentation is used by multiple parties for claim validity, benefits determination, dispute resolution and other issues in addition to more ...
Read more >
ml-ops.org/test.md at master · innoq/ml-ops.org · GitHub
track interactions with the ML models and their results; document the foundation of an ML model (stakeholders, business context, training data, feature ...
Read more >
Emergency Responder Health Monitoring and Surveillance
The purpose of this document is to provide a recommended health monitoring and surveillance framework, referred to as the Emergency Responder Health ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found