Apicurio / apicurio-registry-operator

The Kubernetes Operator for Apicurio Registry.
Apache License 2.0
43 stars 38 forks source link

The liveness probe rely on the external storage #215

Open aboucham opened 1 year ago

aboucham commented 1 year ago

This caused the pod to be restarted when the database was under maintenance. The liveness probe returned this:

sh-4.4$ curl http://localhost:8080/health/live
{"details":"Error id d1a65d60-fe15-4267-8014-e2aa67ea96ec-4","stack":""}

and after a few failures the pod was killed.

As per best practices, the liveness probe should not fail if the db is down, only the readiness.