Discover Packages
github.com/PrPlanIT/HASteward
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Mar 25, 2026
License: AGPL-3.0, AGPL-3.0-only
Opens a new window with license information.
README
README
¶
HASteward
H igh A vailability Steward is a (WIP ) Go CLI and Kubernetes operator for database cluster triage, repair, backup, and restore. Pronounced like Haste·Ward or H.A. or Ha! Steward — flexible pronunciation. Backups use restic for block-level dedup, encryption, and compression.
Supported Engines
Features
Triage
Read-only diagnostics: pg_controldata, grastate.dat, replication status, disk usage, split-brain
Repair
Automated heal with pre-repair escrow backup, split-brain forensic capture, and safety gates
Backup / Restore
Streaming dump through restic backup --stdin — no temp files on database pods
Retention
Restic-style tag retention with group-aware diverged snapshot pruning
Operator Mode
CRD-driven scheduler watches database CRs and runs triage/repair/backup on cron
Bootstrap
Full Galera cluster recovery from total failure with dry-run preview
WAL Prune
Emergency CNPG WAL cleanup for disk-full deadlock recovery
Machine Output
--output json|jsonl for automation with typed envelopes, JSONL events, and --dry-run support
Documentation
Templates
License
Distributed under the AGPL-3.0-only License. See LICENSING.md for commercial licensing.
Expand ▾
Collapse ▴
Directories
¶
Click to show internal directories.
Click to hide internal directories.