From the course: Learning Quarkus

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Health checks

Health checks

From the course: Learning Quarkus

Start my 1-month free trial

Health checks

- [Instructor] Monitoring a system is critical to its overall operations, and quarkus provides a simple and effective method to get health checks and liveliness checks up and running, which is very important to containerized world of Kubernetes because you have to have a way to tell Kubernetes that your application is ready. So let's check that out. All right, so let's jump into our room service, and we're going to start with the pom file. We'll go down here to the bottom and we're going to add a dependency, and the dependency that we're going to add is quarkus smallrye health from io quarkus well that may even do its thing and now from this point here we can simply start our application and once your application is up and running let's jump to our web browser. The first thing we're going to do is we're going to go to local host 8080 slash health slash live. This is a liveliness check, very simple out of…

Contents