docs(pitr): the plugin path is real — transcript, layout, metrics, 1.31 gate closed

Documents what the live migration actually produced (kanban t_5df331de):

- §8.3: restore manifest is externalClusters[].plugin + barmanObjectName/
  serverName, with the 2026-11-19 rehearsal transcript (marker 23:04:53.07,
  target 23:05:00Z, poison 23:05:15.80 -> marker present, poison gone).
- §8.4 (new): how the plugin is wired — vendored manifest, Service-annotation
  registration, cert-manager dependency, ObjectStore/ScheduledBackup shape,
  the injected init-sidecar, and the metrics family change.
- §8.1/§5.1: producer is the plugin; retention moved to the ObjectStore;
  the "1.31 is a hard gate" caveat is replaced by "gate closed".
- §9/§10 + namespace table: cert-manager and barman-cloud are live state now,
  with the verification log rows.
- pitr-restore.md rewritten for the plugin (manifest, sidecar log evidence,
  the two-servers-name trap, retention location).
- CNPG dashboard: the `or` now prefers the plugin's metric — the legacy
  cnpg_collector series still holds the PRE-migration timestamp.
This commit is contained in:
devops 2026-11-19 18:09:23 -05:00
commit 4c90eba08b
5 changed files with 224 additions and 105 deletions

View file

@ -245,9 +245,9 @@ cnpg = [
{"h": 5, "w": 4, "x": 16, "y": 1},
desc="1 = the operator is asking for a manual switchover (e.g. after a fencing event).",
thresholds=[{"color": "green", "value": None}, {"color": "red", "value": 1}]),
stat("Last available backup", [target('max by (namespace) (cnpg_collector_last_available_backup_timestamp{%s} or barman_cloud_cloudnative_pg_io_last_available_backup_timestamp{%s})' % (CLUSTER_NS, CLUSTER_NS))],
stat("Last available backup", [target('max by (namespace) (barman_cloud_cloudnative_pg_io_last_available_backup_timestamp{%s} or cnpg_collector_last_available_backup_timestamp{%s})' % (CLUSTER_NS, CLUSTER_NS))],
{"h": 5, "w": 4, "x": 20, "y": 1}, unit="dateTimeAsIso",
desc="0 = never. sirius-growth/portal archives through the CNPG-I Barman Cloud plugin, which exposes its own metric family `barman_cloud_cloudnative_pg_io_*`; the in-tree `cnpg_collector_*` name is kept in the `or` for any cluster still on the deprecated path. A 0 means neither series exists.",
desc="0 = never. sirius-growth/portal archives through the CNPG-I Barman Cloud plugin, whose metric is `barman_cloud_cloudnative_pg_io_last_available_backup_timestamp`; the deprecated `cnpg_collector_*` name is the fallback for any cluster still on the in-tree path. Order matters: the legacy series is still scraped for portal and holds the PRE-migration timestamp, so it must not win the `or`.",
thresholds=[{"color": "red", "value": None}, {"color": "green", "value": 1}]),
row("Throughput", 6),