-
We are using kafka as storage and happened a couple of times when kafka is not available or certificate is expired in run time, but pod still pass livness probe. I looked in the code and noticed that In logs, we can see that error counter is 2 of maximum allowed but live health check status is up
{
"status": "UP",
"checks": [
{
"name": "PersistenceExceptionLivenessCheck",
"status": "UP",
"data": {
"errorCount": 2
}
},
{
"name": "ResponseErrorLivenessCheck",
"status": "UP",
"data": {
"errorCount": 2
}
},
{
"name": "PersistenceTimeoutReadinessCheck",
"status": "UP",
"data": {
"errorCount": 0
}
},
{
"name": "StorageLivenessCheck",
"status": "UP"
},
{
"name": "PersistenceExceptionLivenessCheck",
"status": "UP",
"data": {
"errorCount": 2
}
},
{
"name": "ResponseErrorLivenessCheck",
"status": "UP",
"data": {
"errorCount": 2
}
},
{
"name": "PersistenceTimeoutReadinessCheck",
"status": "UP",
"data": {
"errorCount": 0
}
},
{
"name": "StorageLivenessCheck",
"status": "UP"
}
]
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for pointing this out, this is a bug accidentally introduced when updating major Quarkus version. Fixing it in |
Beta Was this translation helpful? Give feedback.
Thanks for pointing this out, this is a bug accidentally introduced when updating major Quarkus version. Fixing it in
2.5.2
and later.