Repository navigation
Commit 991fc73
committed
docs(db-autoscaler): document the kube-state-metrics monitoring requirement
Live testing surfaced an operational gotcha: the Postgres/MariaDB adapters
recover the read-replica role by joining engine metrics against
kube_pod_labels, which is cluster-scoped (scraped only by the root
monitoring). A target whose namespace resolves to a tenant-local monitoring
stack (monitoring: true) has the engine metrics but not kube_pod_labels, so
the role join is empty and the DHA fail-safe-freezes with MetricUnavailable
instead of scaling. Document the requirement and the common working layout
(monitoring: false, pointing at root) in the package README.
Signed-off-by: Alexey Artamonov <[email protected]>1 parent b1310f8 commit 991fc73
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
0 commit comments