Skip to content

Commit

Permalink
Add liveness/readiness endpoints
Browse files Browse the repository at this point in the history
These endpoints are used to test for the liveness and readiness of the
application in Kubernetes.

This allows the application to take its time to startup, set the
liveness and readiness endpoints as ready, then begin to accept
requests.

The endpoints are:
- /q/health/live
- /q/health/ready

Documentation: https://quarkus.io/guides/smallrye-health
  • Loading branch information
thescouser89 committed Jan 14, 2025
1 parent 1f9a9f8 commit 80fad19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest-client-jackson</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-health</artifactId>
</dependency>
<dependency>
<groupId>io.quarkiverse.tektonclient</groupId>
<artifactId>quarkus-tekton-client</artifactId>
Expand Down

0 comments on commit 80fad19

Please sign in to comment.