FeatureRecipe
backup-kubestash
Component-scope FeatureRecipe for core/backup on Kubernetes through KubeStash: writes a KubeStash BackupConfiguration for the attached component's workload, with the BackupStorage and the RetentionPolicy it reads, beside it. The backups run only where core/storage/kubestash is deployed, under a licence AppsCode issues; nothing in the build checks either. Each backup copies the files under the mount path of the workload's one persistent volume, with restic, into a repository in the bucket the store connection points at or, with infra.volume set instead, on a claim of that size written beside it. It is a copy of the volume's 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, and each backup is kept for infra.retention_days days. The jobs run as infra.run_as_user and infra.run_as_group. The jobs read the repository's password, under RESTIC_PASSWORD, and for a bucket its key pair, under AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, the names KubeStash fixes, from the Secret infra.credentials_secret names or, unset, one named after the BackupConfiguration, 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 a second core/backup attachment, on a component rendering not exactly one Deployment, StatefulSet or DaemonSet mounting a persistent volume at one path, on a volume for a DaemonSet or of a size that is not a Kubernetes quantity, and on infra.role_arn, which KubeStash has no use for.
来歴
- コンテンツダイジェスト
- sha256:07e59327b6d74a7b86e34d94027540a52785d72aa025ebb2eaa89127d4557b67
- 公開日
- 2026-11-10T10:15:14Z
- 署名 ID
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
署名
- 公式application/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:683da80ed2c1c0c73bfcdfa21756d70c241e0fa209d119448e277219c27a87a8
このバージョンの参照
oci://hub.aggrega.ai/featurerecipe/helm/backup-kubestash:1.0.0- ターゲット
- —
- 実装対象
- core/backup:1.0.0
提供
このレシピが利用側のために配線する決定論的なポインターテンプレートです。
provides テンプレートは宣言されていません。
Workload
ワークロードテンプレートは宣言されていません。
ローカル変数
ローカル変数は宣言されていません。
値のマッピング
値のマッピングは宣言されていません。
関係
他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。
使用先
- 実装実装
core/backup:1.0.0
使用元
カタログ内にこのエンティティに依存しているものはありません。