Cluster Health Collector
| Field | Value |
|---|---|
| Name | cluster-health-collector |
| Category | monitoring |
| Complexity | moderate |
| Tags | k8s-monitoring, in-cluster, db-persistence, health-metrics |
| Author | randybias |
| Min Version | 0.1.0 |
Description
Section titled “Description”Collect Kubernetes cluster health data every 5 minutes and store in Postgres. Designed to work with the Cluster Health Reporter template for trend analysis.
DAG Structure
Section titled “DAG Structure”fetch-cluster-state → store-health-data| Node | Purpose |
|---|---|
fetch-cluster-state | Query cluster health metrics |
store-health-data | Write metrics to Postgres |
Triggers
Section titled “Triggers”manualcron(collect-health): every 5 minutes (*/5 * * * *)
Dependencies
Section titled “Dependencies”| Dependency | Host | Auth |
|---|---|---|
postgres | postgres-postgresql.postgres.svc.cluster.local:5432 | password |
Secrets
Section titled “Secrets”| Secret | Description |
|---|---|
postgres.password | Postgres database password |
tntc scaffold init cluster-health-collectortntc scaffold init cluster-health-collector my-collectortntc scaffold info cluster-health-collectorSource
Section titled “Source”Scaffold source: quickstarts/cluster-health-collector/