Skip to content

Automations Phase 0: Vault Raft snapshots to R2 + restore drill + Transit benchmark #161

Description

@sre-helmcode

Part of #160. Design §9: https://github.com/helmcode/nan-devops/blob/main/AGENT-AUTOMATIONS.md#9-prerequisites-vault-hardening-blocking-phase-2-secrets

  • CronJob vault operator raft snapshot save uploading to R2 with cnpg-r2-creds (bucket cnpg-backups-helmcode, prefix vault/), 30d retention
  • Vault policy + Kubernetes auth role for the snapshot job (least privilege: sys/storage/raft/snapshot read)
  • Alert when the last successful snapshot is older than its schedule
  • Restore drill into a scratch Vault, documented in BACKUP.md
  • Transit batch-decrypt benchmark on the active node (target: p99 well under run-start budget at 10x peak)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions