In case the check is productive the container are going to be marked as healthy. until eventually then it's going to continue being in an unhealthy point out.
g. permits a way to safely and securely pass that https://www.ralantech.com/postgresql-database-health-check-consulting-service/