Kubernetes Postgres Healthcheck

Icon 1 8 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-cli-codecollection


Runs a series of tasks to check the overall health of a postgres cluster and to provide detailed information useful for debugging or reviewing configurations.

Tasks:
  • List Resources Related to Postgres Cluster `OBJECT_NAME` in Namespace `NAMESPACE`
  • Get Postgres Pod Logs & Events for Cluster `OBJECT_NAME` in Namespace `NAMESPACE`
  • Get Postgres Pod Resource Utilization for Cluster `OBJECT_NAME` in Namespace `NAMESPACE`
  • Get Running Postgres Configuration for Cluster `OBJECT_NAME` in Namespace `NAMESPACE`
  • Get Patroni Output and Add to Report for Cluster `OBJECT_NAME` in Namespace `NAMESPACE`
  • Fetch Patroni Database Lag for Cluster `OBJECT_NAME` in Namespace `NAMESPACE`
  • Check Database Backup Status for Cluster `OBJECT_NAME` in Namespace `NAMESPACE`
  • Run DB Queries for Cluster `OBJECT_NAME` in Namespace `NAMESPACE`