backup-stack

by QuenchWorks

Helm chartv0.0.27App 1.0.0Apache-2.0Verified publisher

Hardened Kubernetes backup: Velero with its AWS plugin, backing up to SeaweedFS over S3 in the same install, with generated keys, a bucket created at install and the backup location already configured. All QuenchWorks images are nonroot, CVE-gated, pinned by digest and cosign-signed.

About this chart

Quenchworks backup-stack

Kubernetes backup and restore in one install, from QuenchWorks images (nonroot, 0 fixable CVEs, pinned by digest, cosign-signed):

ComponentChart / imageRole
Velerovelerobacks up and restores namespaces and resources
Velero AWS pluginvelero-plugin-for-aws imagetalks to any S3-compatible store
SeaweedFSseaweedfsthe S3 store the backups go to

The stack generates the S3 keys (Secret backup-s3), creates the velero bucket with a Job, and configures Velero's default backup location on it.

Install

helm install backup oci://ghcr.io/quenchworks/charts/backup-stack
kubectl get backupstoragelocation default   # PHASE Available

Then create Backup, Restore and Schedule resources in the release namespace (or use the velero CLI against it).

Values

KeyDefaultNotes
velero.backupStorageLocation.*S3 on backup-seaweedfspoint elsewhere to keep backups outside the cluster
seaweedfs.persistence.size50Githe backup store
bucketJob.enabledtruecreates the velero bucket

Notes

  • The default store is in the same cluster: it covers mistakes and namespace loss, not the loss of the cluster itself. For disaster recovery, set the backup location to storage elsewhere or replicate the bucket.
  • Resource backups work out of the box. Volume data needs Velero's node agent or CSI snapshots, which this stack does not configure.

Deploy backup-stack with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has backup-stack on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartbackup-stack is pinned at v0.0.27 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply