Spring Boot Probes on Kubernetes

Add liveness and readiness probes to a Spring Boot application in Kubernetes.

Approximate time: 30 minutes

This lab shows you how to add liveness and readiness probes to a Spring Boot application in Kubernetes. This lab will cover the following tasks:

  1. Add some endpoints to a Spring Boot application and build and push a Docker image

  2. Configure the probes in a few lines of YAML

  3. Deploy the image as a container in Kubernetes