Sign inSign up

prplanit/hasteward

By prplanit

•Updated 24 minutes ago

Stateful-workload steward for Kubernetes: bootstraps, heals and migrates databases.

Image
0

4.6K

prplanit/hasteward repository overview

HASteward

⁠HASteward

High Availability 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.

GitHub GitLab license Open Issues Open PRs Contributors donate sponsor

release build Go Version Go Reference Last Commit StageFreight

GHCR Docker pulls Harbor

latest updated size latest-dev updated size

⁠Supported Engines
EngineDatabaseOperator
cnpgPostgreSQLCloudNativePG⁠
galeraMariaDBmariadb-operator⁠
⁠Features
TriageRead-only diagnostics: pg_controldata, grastate.dat, replication status, disk usage, split-brain
RepairAutomated heal with pre-repair escrow backup, split-brain forensic capture, and safety gates
Backup / RestoreStreaming dump through restic backup --stdin — no temp files on database pods
RetentionRestic-style tag retention with group-aware diverged snapshot pruning
Operator ModeCRD-driven scheduler watches database CRs and runs triage/repair/backup on cron
BootstrapFull Galera cluster recovery from total failure with dry-run preview
WAL PruneEmergency 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
Topic
CLI Reference⁠Subcommands and global flags
Examples⁠CLI usage examples for every subcommand
Container Usage⁠Run HASteward via full docker run commands against a cluster
Backups⁠Backup model, snapshot tags, retention
Safety Gates⁠Repair and bootstrap safety matrices
Operator Mode⁠CRDs, annotations, scheduler
Architecture⁠Engine repair flows, backup streaming
⁠Templates
File
Kubernetes Job⁠Ad-hoc Job manifest for CLI operations

⁠License

Distributed under the AGPL-3.0-only⁠ License. See LICENSING.md⁠ for commercial licensing.

Tag summary

Content type

Image

Digest

sha256:1c32a23a4…

Size

20.3 MB

Last updated

3 months ago

docker pull prplanit/hasteward