FeatureRecipe
backup-k8up
Component-scope FeatureRecipe for core/backup on Kubernetes through K8up: writes a K8up Schedule beside the attached component. The schedule runs only where core/storage/k8up is deployed; nothing in the build checks it. Each backup copies the files of the component's persistent volume claims, selected by its workloads' labels, into a restic repository in the bucket the store connection points at or, with infra.volume set instead, on a claim of that size written beside the Schedule. It is a copy of the volumes' files taken while the datastore runs, not a database-consistent dump, so point-in-time recovery is off: a restore returns to a backup's moment, and infra.point_in_time_recovery: true halts. It runs on infra.schedule, or daily at 03:00 where that is unset; K8up keeps backups by count, so a schedule must run once a day or once an hour at a fixed minute, and each backup is kept for infra.retention_days days. The jobs run as infra.run_as_user and infra.run_as_group. The backup jobs read the repository's password, under RESTIC_PASSWORD, and for a bucket its key pair, under ACCESS_KEY_ID and ACCESS_SECRET_KEY, from the Secret infra.credentials_secret names or, unset, from one named after the Schedule, in the component's namespace. The build halts, naming the attachment, with neither a store connection nor infra.volume, with a store publishing no S3 API, on any other schedule, on a second core/backup attachment, on a component rendering no workload whose claims a schedule can select, on a volume for a DaemonSet or of a size that is not a Kubernetes quantity, and on infra.role_arn, which K8up has no use for.
Pochodzenie
- Skrót zawartości
- sha256:a5a30d70261f27047e96ac83fe2cf16629b329490665b75f1fb75b6be05e57c0
- Opublikowano
- 2026-11-10T10:15:10Z
- Tożsamość podpisująca
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Podpis
- Oficjalnyapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:acc977655d31defd19e283edb058ad38434c8c31ca01ff2bcb52a49edaf0a43e
Referencja w tej wersji
oci://hub.aggrega.ai/featurerecipe/helm/backup-k8up:1.0.0- Cel
- —
- Implementuje
- core/backup:1.0.0
Udostępnia
Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.
Nie zadeklarowano szablonów provides.
Workload
Nie zadeklarowano szablonu obciążenia roboczego.
Zmienne lokalne
Nie zadeklarowano zmiennych lokalnych.
Mapowanie wartości
Nie zadeklarowano mapowania wartości.
Relacje
Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.
Używa
- implementujeimplementuje
core/backup:1.0.0
Używane przez
Nic w katalogu nie zależy od tej encji.