Repository navigation
Description
Update 2026-11-26 (infra move): the store manifests and the backup work are now in dan-petty/homelab.
k8s/object-store/ and the backup objects belong there. #2144 is now dan-petty/homelab#198 (restore runbook: dan-petty/homelab#243). The database backups dan-petty/homelab#332 and dan-petty/homelab#342 and the cloud copy dan-petty/homelab#343 move to homelab too. devops store and other src/ work stay in devops-cli.
Problem or Motivation
The cluster has no object store. The data on its 19 local-path volumes has no copy off its node: the Gitea repositories and packages, the gateway and Mattermost databases, and the app volumes. A lost disk or node loses that data. The project review, the evals and the studies write their reports only to a local disk, so the owner cannot read them on a phone or a desktop. #2144 and dan-petty/homelab#332 need an S3 target. The ArtifactRepository type of Argo Workflows has no HTTP field, so step outputs also need S3.
On 2026-11-11 the owner asked for a cluster content store for dashboard files, reports and other useful content. The rules: backups for volume data, secrets from the keyring, standard interfaces, reputable and maintained tools, and a clear message when the store is down.
Goal
One S3 object store in the cluster keeps 2 copies of each object on 2 different nodes. Every writer uses the S3 API. Browsers read the report buckets through one files host behind Cloudflare Access. Gitea, the databases and the app volumes have a scheduled backup in the store, and a restore drill proves each backup.
Decisions
Owner decisions of 2026-11-11:
- The store has a permissive license (Apache-2.0, MIT, BSD or similar). No AGPL, SSPL, BSL or strong copyleft. Thus Garage (AGPL-3.0) and MinIO (AGPL-3.0) are out. The store is SeaweedFS with the SeaweedFS operator. On 2026-11-11 the GitHub license API gave Apache-2.0 for
seaweedfs/seaweedfs,seaweedfs/seaweedfs-operator,k8up-io/k8up,cloudnative-pg/plugin-barman-cloudandcert-manager/cert-manager. - Reports of private repositories can be read at
files.<domain>/private/behind Cloudflare Access. This is the same exposure as Grafana. - Backup scope: Gitea, the databases and the app volumes (roadmap-service home, open-webui, Qdrant, Mattermost files and Grafana). The telemetry volumes and
valkey-runs-datastay out, because the cluster makes them again. - Tools: k8up (restic) for volumes. The CloudNativePG Barman Cloud plugin with cert-manager for databases, because CNPG 1.32.0 removes the in-tree
barmanObjectStore. Retention: review reports have no expiry, studies 90 days, cache objects 7 days. Report links in public text point to a host behind Access. The owner keeps one offline copy of the backup passwords and the store keys. - The offsite copy goes to a cloud backup target that the owner builds later. Until then, the owner accepts the site risk.
Design rules:
- Version rule (owner, 2026-11-11): no minimum release age for dependencies, images, charts or tools. Pin the newest release that fixes the known security and bug issues and that the surrounding tools support (chart, operator, client libraries; the tests pass). For SeaweedFS, that is 4.53 (2026-11-08) or newer, and never older than 4.52: releases 4.48 to 4.51 break minio-go multipart uploads (
seaweedfs/seaweedfs#12177), and 4.52 has the fix (seaweedfs/seaweedfs#12194). The operator is the newest app and chart that support that release: app 1.0.44 (built against SeaweedFS 4.53) and chart 0.1.47 (appVersion1.0.44) or newer. - Layout: 3 masters (Raft), 3 volume servers (one on each node), 2 filers (leveldb2), the standalone S3 gateway (2 replicas, port 8333), 1 admin with a password and 1 worker. That is about 13 pods.
- Replication
001keeps 2 copies of each object on 2 different servers. With one node down, reads and writes continue. - Operator CRs in git hold the buckets, identities, keys, policies, quotas and lifecycle rules. No custom reconcile Job.
- Security: the admin gets a password (
GHSA-m3m8-mrgq-hf9h). Only the worker pods reach the admin gRPC port (GHSA-3qr2-qw48-cj6q). The masters run with-telemetry=false. S3 Tables, Iceberg, Lance, STS, OIDC, SFTP, WebDAV and the IAM API stay off. Nobody runsfs.mergeVolumes(seaweedfs/seaweedfs#12521). - The files host is nginx-unprivileged. It proxies GET and HEAD to the S3 gateway, so the store needs no website feature.
Costs accepted for a permissive license on 3 nodes: about 13 store pods and 6 component types; one person makes about 67% of the SeaweedFS commits; many advisories in 2026, most of them for old versions or for features that stay off; a listing through the other filer can lag a write.
Ordered child list
Each line gives the issue, its title, its child number and the issues to merge first. "Start now" marks an item with no unmet dependency.
- feat(k8s): run a three-node SeaweedFS object store #4750 feat(k8s): run a three-node SeaweedFS object store (child 1). Depends on: fix(k8s): the placement rule fits the NVMe and covers CNPG clusters #3782.
- feat(k8s): apply store buckets, keys and rules from git #4756 feat(k8s): apply store buckets, keys and rules from git (child 2). Depends on: child 1 (feat(k8s): run a three-node SeaweedFS object store #4750).
- dan-petty/homelab#341 feat(k8s): serve the report buckets on a files host (child 3). Depends on: child 2 (feat(k8s): apply store buckets, keys and rules from git #4756).
- feat(cli): publish and read content-store files #4761 feat(cli): publish and read content-store files (child 4). Depends on: children 2 and 3 (feat(k8s): apply store buckets, keys and rules from git #4756, dan-petty/homelab#341).
- dan-petty/homelab#198 (was feat(k8s): Add scheduled off-node backup and restore for Gitea #2144) feat(k8s): Add scheduled off-node backup and restore for Gitea (child 5, k8up; see its scope comment). Depends on: child 2 (feat(k8s): apply store buckets, keys and rules from git #4756).
- feat(k8s): add cert-manager and the Barman Cloud plugin #4764 feat(k8s): add cert-manager and the Barman Cloud plugin (child 6, start now). Depends on: none.
- dan-petty/homelab#332 feat(k8s): back up the gateway database off its node (child 7, the Barman Cloud plugin; see its scope comment). Depends on: children 2 and 6 (feat(k8s): apply store buckets, keys and rules from git #4756, feat(k8s): add cert-manager and the Barman Cloud plugin #4764).
- dan-petty/homelab#342 feat(k8s): back up the Mattermost database off its node (child 8). Depends on: child 7 (#3741). dan-petty/homelab#333 waits for it.
- feat(k8s): back up the other app volumes off their node #4767 feat(k8s): back up the other app volumes off their node (child 9). Depends on: child 5 (feat(k8s): Add scheduled off-node backup and restore for Gitea #2144).
- feat(review): keep runner review sessions in the store #4768 feat(review): keep runner review sessions in the store (child 10). Depends on: feat(roadmap): devops review runs in the runner shell #3827, child 4 (feat(cli): publish and read content-store files #4761).
- feat(argo): use the store as the Argo artifact repository #4769 feat(argo): use the store as the Argo artifact repository (child 11). Depends on: feat(k8s): let Argo Workflows run roadmap pods in devops #4566, child 2 (feat(k8s): apply store buckets, keys and rules from git #4756). Do it when the first WorkflowTemplate declares an output.
- dan-petty/homelab#343 feat(k8s): copy the store to a cloud backup target (child 12, held). Depends on: child 2 (feat(k8s): apply store buckets, keys and rules from git #4756); owner step: the cloud backup target.
Parts that other items own
- The publish of project review reports: feat(roadmap): publish the project review and link it on GitHub #4733 (a child of feat(roadmap): track the project review analysis #4679) owns it, after child 4 (feat(cli): publish and read content-store files #4761). A comment on feat(roadmap): publish the project review and link it on GitHub #4733 gives the bucket and path rules of this plan.
- A Reports bookmark on the start page: folded into dan-petty/homelab#339 (a child of feat(roadmap): move Service work to Workflows and Valkey #4517), after child 3 (#4759). A comment on dan-petty/homelab#339 gives the scope.
- A warm-start brain snapshot in the store: dropped. perf(roadmap): share the listing snapshot and tool facts in Valkey #4668 shares the listing snapshot in Valkey with a 7-day TTL and a local fallback, and perf(roadmap): consolidate keeps its vectors in the shared tiers #4665 keeps the consolidate vectors in the shared tiers. GitHub stays the durable copy.
Content that keeps its current home
- Grafana dashboard JSON: the git ConfigMaps.
- Argo and Job logs: Loki (30 days).
- Gitea Actions logs and artifacts: the Gitea disk.
- Docs: GitHub Pages. Release files: GitHub Releases.
- Plan and run records: Valkey (feat(roadmap): keep plan records and record locks in Valkey #4564).
Owner questions
All answered on 2026-11-11 (see Decisions). The owner builds the cloud backup target later (child 12). A person runs uv run devops k8s push-secrets before the merge of children 1, 2 and each backup child.
Measure of the whole
| Measure | Today | Target |
|---|---|---|
| Sources in the backup scope with a copy off their node | 0 of 8 | 8 of 8 |
| Restore drills that passed | 0 | 1 for each source |
| Age of the newest backup of each source | no backup | under 26 hours |
| Project review windows readable on a phone | 0 | each window, behind Access |
Target Subsystem
Kubernetes & Minikube Automation (k8s/object-store/ of dan-petty/homelab, the backup tools and the files host), with a thin devops store CLI adapter in devops-cli.
Existing Tool Considered
Used: SeaweedFS and the SeaweedFS operator (Apache-2.0), nginx-unprivileged (nginx is BSD-2-Clause), k8up v2.16.1 (restic), the CloudNativePG Barman Cloud plugin v0.15.1, cert-manager v1.21.3, boto3 1.43.118, and later rclone (MIT) for the cloud copy. At its merge, each pin is the newest release that fixes the known security and bug issues and that the surrounding tools support (version rule).
Rejected:
- Garage and MinIO: AGPL-3.0 (owner decision 1). The MinIO repository is also archived.
- Ceph RGW through Rook: LGPL, raw devices and about 4 GiB of memory for each OSD.
- RustFS: erasure coding only, and a distributed cluster needs at least 4 nodes. The cluster has 3. Its CLA lets the company relicense later versions.
- versitygw: no replication and no lifecycle. s3proxy: no lifecycle, no policy and one node.
- Apache Ozone and CubeFS: 4 or 5 service types, each with its own HA quorum.
- Velero file-system backup: it does not read hostPath volumes, and all 19 PVs are hostPath.
- Gitea generic packages as a web store: Gitea serves files as
application/octet-streamattachments. - A custom reconcile Job: the operator CRs do the same work.
Custom code and its cost (AGENTS.md rule 3, estimates): the bucket and identity CRs, about 50k tokens and 1 hour; the nginx config, two static pages and an invariant test, about 100k tokens and 1.5 hours; the devops store adapter, about 400 lines with tests, about 600k tokens and 5 hours to build and 50k tokens a quarter to keep. boto3 does the S3 part. No tool joins the keyring, the content kinds, the pending queue, the index pages and clear messages.
Acceptance Criteria
- Each child is merged, or closed with evidence.
- Each source in the backup scope has a passed restore drill and a backup-age alert.
- A project review report opens at
files.<domain>, and a report of a private repository opens atfiles.<domain>/private/.
Dependencies
None for the tracker. The children carry their own.
Proposed design
Problem statement
The cluster has no object store. The data on its 19 local-path volumes has no copy off its node, so a lost disk or node loses the Gitea data, the databases and the app volumes. The project review, the evals and the studies write their reports only to a local disk, so the owner cannot read them on a phone or a desktop. #2144 and dan-petty/homelab#332 need an S3 target. The Argo ArtifactRepository type has no HTTP field, so step outputs also need S3. This item tracks the children that deliver one S3 store, the backups and the files host.
Acceptance criteria
Requirement: Store replication
The object store SHALL keep two copies of each object on two different volume servers.
Scenario: Replication layout
- WHEN the object store manifests render
- THEN the replication setting is
001and each of the three volume servers sits on a different node.
Requirement: Permissive license
Every store and backup component MUST hold a permissive license of Apache-2.0, MIT, BSD or similar.
Scenario: License check
- WHEN the license check reads the pinned images and charts
- THEN it passes SeaweedFS, k8up, the Barman Cloud plugin, cert-manager and nginx, and it fails Garage and MinIO.
Requirement: Version pin
The store image MUST be the newest SeaweedFS release on the build day that the operator and the chart support, and no older than 4.52. No minimum release age applies (owner, 2026-11-11).
Scenario: Build on 2026-11-11
- WHEN the build day is 2026-11-11
- THEN the pin is 4.53 with operator app 1.0.44, and the check refuses 4.48 to 4.51.
Requirement: Store from git
Buckets, identities, keys, policies, quotas and lifecycle rules MUST come from operator CRs in git.
Scenario: Render the store
- WHEN the object store manifests render
- THEN each bucket, identity, policy and lifecycle rule is a CR, and no reconcile Job exists.
Requirement: Files host
The files host MUST proxy GET and HEAD to the S3 gateway behind Cloudflare Access.
Scenario: Private report
- WHEN a browser requests a report of a private repository under
/private/ - THEN the nginx config forwards only GET and HEAD to the gateway, and it answers 405 to any other method.
Requirement: Volume backups
Each volume source in the backup scope MUST have a k8up schedule and a backup-age alert.
Scenario: Scope coverage
- WHEN the k8up manifests render
- THEN one schedule exists for Gitea, roadmap-service home, open-webui, Qdrant, Mattermost files and Grafana, and none for the telemetry volumes or
valkey-runs-data.
Requirement: Database backups
Each database MUST back up through the CloudNativePG Barman Cloud plugin.
Scenario: No in-tree store
- WHEN the CNPG cluster manifests render
- THEN each cluster names a Barman Cloud plugin ObjectStore, and no cluster sets
barmanObjectStore.
Requirement: Restore drill
Each source in the backup scope MUST have a passed restore drill.
Scenario: Restore one source
- WHEN a restore drill runs for a source
- THEN the restored data matches the source, and the backup-age alert fires at 26 hours.
Requirement: Retention
The buckets MUST keep reports with no expiry, studies for 90 days and cache objects for 7 days.
Scenario: Lifecycle rules
- WHEN the lifecycle CRs render
- THEN the reports bucket has no expiry rule, the studies bucket expires at 90 days and the cache bucket at 7 days.
Requirement: Store down message
The devops store commands MUST print a clear message that names the store endpoint and the next step when the S3 gateway is unreachable.
Scenario: Gateway down
- WHEN the S3 gateway refuses a connection from a
devops storecommand - THEN the command exits non-zero with a message that names the endpoint and no traceback.
Existing Tool Considered
SeaweedFS (https://github.com/seaweedfs/seaweedfs) with the SeaweedFS operator (https://github.com/seaweedfs/seaweedfs-operator), Apache-2.0, covers the object store. k8up v2.16.1 (restic, https://github.com/k8up-io/k8up) covers the volume backups. The CloudNativePG Barman Cloud plugin v0.15.1 (https://github.com/cloudnative-pg/plugin-barman-cloud, the reference CNPG-I backup/restore plugin for Barman Cloud) with cert-manager v1.21.3 covers the database backups. nginx-unprivileged (BSD-2-Clause) covers the files host. boto3 1.43.118 covers the S3 client, and rclone (MIT) covers the later cloud copy. What these tools lack: SeaweedFS has no S3 website feature that the plan needs, so nginx proxies GET and HEAD. No tool joins the keyring, the content kinds, the pending queue, the index pages and clear messages. The plan builds the bucket and identity CRs, at about 50k tokens and 1 hour. It builds the nginx config, two static pages and an invariant test, at about 100k tokens and 1.5 hours. It builds the devops store adapter, about 400 lines with tests, at about 600k tokens and 5 hours to build and 50k tokens a quarter to keep.
Key questions
- Which S3 object store runs in the cluster?: SeaweedFS with the SeaweedFS operator, Apache-2.0. Owner decision 1 of 2026-11-11 requires a permissive license, so Garage and MinIO are out. The layout is 3 masters, 3 volume servers, 2 filers, a 2-replica S3 gateway on port 8333, 1 admin and 1 worker. (best practice) [sources: AGENTS.md:11]
- Chosen: SeaweedFS with its operator. Apache-2.0; the operator holds buckets, identities, keys and policies as CRs; 3 nodes are enough with replication
001. - Rejected: Garage. AGPL-3.0, which owner decision 1 refuses.
- Rejected: MinIO. AGPL-3.0, and its repository is archived.
- Rejected: Ceph RGW through Rook. LGPL, raw devices, and about 4 GiB of memory for each OSD.
- Rejected: RustFS. Erasure coding only, a distributed cluster needs 4 nodes, and its CLA lets the company relicense later versions.
- Chosen: SeaweedFS with its operator. Apache-2.0; the operator holds buckets, identities, keys and policies as CRs; 3 nodes are enough with replication
- Can the store pin the newest SeaweedFS release now?: Yes. The owner removed the minimum release age on 2026-11-11. The GitHub releases page, fetched 2026-11-11, shows 4.53 as the newest release, published on 8 November 2026. Operator app 1.0.44 (chart 0.1.47) builds against 4.53, so the store pins 4.53 or a newer supported release. Releases 4.48 to 4.51 stay refused for the multipart regression. [sources: https://github.com/seaweedfs/seaweedfs/releases, https://github.com/seaweedfs/seaweedfs-operator/releases]
- Which tool backs up the volume data?: k8up v2.16.1 with restic, Apache-2.0. Owner decision 4 of 2026-11-11 picks it for the volumes. A schedule mounts the volume in a pod, so the hostPath volumes work.
k8s/README.md:121records that dan-petty/homelab#332 adds the database backup in the form that feat(k8s): Add scheduled off-node backup and restore for Gitea #2144 chooses, so feat(k8s): Add scheduled off-node backup and restore for Gitea #2144 changes from Velero to k8up andk8s/README.mdgains the backup section. The plan gives each of the six volume sources a schedule and a backup-age alert; the two databases use the Barman Cloud plugin. (best practice) [sources: k8s/README.md:121]- Chosen: k8up with restic. Apache-2.0, restic deduplication, and it reads a mounted hostPath volume.
- Rejected: Velero file-system backup. It does not read hostPath volumes, and all 19 PVs are hostPath.
- Rejected: A custom restic CronJob. The project builds and keeps the schedule, the alerts and the restore procedure.
- Which tool backs up the databases?: The CloudNativePG Barman Cloud plugin v0.15.1 with cert-manager v1.21.3. The plugin repository, fetched 2026-11-11, names it the reference CNPG-I backup/restore plugin for Barman Cloud, under CNCF governance, with a commit on 2026-11-11, so it is open and maintained. Owner decision 4 of 2026-11-11 records that CNPG 1.32.0 removes the in-tree
barmanObjectStore, so the plugin is the supported path. cert-manager gives the plugin its certificates. (best practice) [sources: https://github.com/cloudnative-pg/plugin-barman-cloud]- Chosen: The Barman Cloud plugin with cert-manager. It is the reference CNPG-I backup plugin that CNPG keeps, and cert-manager gives the plugin its certificates.
- Rejected: The in-tree
barmanObjectStore. Owner decision 4 records that CNPG 1.32.0 removes it. - Rejected: A pg_dump CronJob. It keeps no continuous WAL, and the project keeps the code and the restore steps.
- How do browsers read the report buckets?: nginx-unprivileged proxies GET and HEAD to the S3 gateway. Cloudflare Access guards
files.<domain>, and/private/holds the reports of private repositories. This is the same exposure as Grafana (owner decision 2 of 2026-11-11). (proposed)- Chosen: nginx-unprivileged as a GET and HEAD proxy. BSD-2-Clause, it runs as a non-root user, and it forwards only GET and HEAD.
- Rejected: The SeaweedFS filer web UI. It needs the website feature and a session, and it shows the file tree.
- Rejected: A custom Go proxy. The project builds and keeps the code.
- Which data goes to the store, and for how long?: Gitea, the databases and the app volumes (roadmap-service home, open-webui, Qdrant, Mattermost files and Grafana) have a backup. The telemetry volumes and
valkey-runs-datastay out, because the cluster makes them again. Reports have no expiry, studies 90 days and cache objects 7 days. The lifecycle rules live in the operator CRs in git (owner decisions 3 and 4 of 2026-11-11). (proposed)- Chosen: Back up the 8 sources, with bucket lifecycle rules. The cluster rebuilds the volumes that stay out, and the store applies the lifecycle rule with no code.
- Rejected: Back up every volume. The telemetry volumes and
valkey-runs-datacome back by themselves, so a copy adds cost and no safety. - Rejected: A cleanup CronJob for retention. It adds code and a schedule that the store already has.
- Does the plan wait for the offsite copy?: No. Owner decision 5 of 2026-11-11 accepts the site risk until child 12 (#4770) copies the store to a cloud backup target that the owner builds later. The goal of 2 copies on 2 nodes is on-site, so the plan does not wait for the cloud target. (proposed)
- Chosen: Accept the site risk until the cloud target exists. Owner decision 5 of 2026-11-11 accepts the risk, and child 12 carries the offsite copy.
- Rejected: Hold the store until the cloud target exists. It delays the backups and the reports for a target that a person builds later.
- Which documents does each child change?:
k8s/README.mdgets a section for the object store (children 1 and 2) and a section for the backups (children 5, 6, 8 and 9).SECURITY.mdgets the report access behind Cloudflare Access (child 3).docs/SELF_IMPROVEMENT.mdgets the report links and their retention (child 10). Each child pull request changes its documents with its feature (AGENTS.md:16). (best practice) [sources: AGENTS.md:16, k8s/README.md, SECURITY.md, docs/SELF_IMPROVEMENT.md]- Chosen: Change the existing documents in each child. AGENTS.md rule 8 makes the change in the same pull request, and each document already has a route.
- Rejected: A new
docs/OBJECT_STORE.md. No route names it, and AGENTS.md keeps one document for one rule.
- What custom code does the plan build, and at what cost?: The plan builds the bucket and identity CRs (about 50k tokens, 1 hour), the nginx config with two static pages and an invariant test (about 100k tokens, 1.5 hours), and the
devops storeadapter (about 400 lines with tests, about 600k tokens and 5 hours to build, and 50k tokens a quarter to keep). boto3 does the S3 calls. AGENTS.md rule 3 asks for this cost before the project builds code. (best practice) [sources: AGENTS.md:11]- Chosen: boto3 with a thin
devops storeadapter. The keyring, the content kinds, the pending queue and the clear messages are project rules, and no tool joins them. - Rejected: rclone for every read and write. It has no keyring, no content kinds and no index pages, and a person runs it by hand.
- Chosen: boto3 with a thin
- Who pushes the store secrets to the cluster before a merge?: A person runs
uv run devops k8s push-secretsbefore the merge of children 1 and 2 and each backup child, and keeps one offline copy of the backup passwords and the store keys. Only a person changes secrets (AGENTS.md:24). The command writes the cluster Secrets from the OS keyring (README.md:217, SECURITY.md:55), and it stops before it applies anything while the keyring is locked. (a person decides) [sources: AGENTS.md:24, README.md:217, SECURITY.md:55]
Open questions
- Who pushes the store secrets to the cluster before a merge? (a person decides)
Fit
Needs splitting into 12 items:
- feat(k8s): run a three-node SeaweedFS object store #4750 feat(k8s): run a three-node SeaweedFS object store (child 1; needs fix(k8s): the placement rule fits the NVMe and covers CNPG clusters #3782).
- feat(k8s): apply store buckets, keys and rules from git #4756 feat(k8s): apply store buckets, keys and rules from git (child 2; needs feat(k8s): run a three-node SeaweedFS object store #4750).
- dan-petty/homelab#341 feat(k8s): serve the report buckets on a files host (child 3; needs feat(k8s): apply store buckets, keys and rules from git #4756).
- feat(cli): publish and read content-store files #4761 feat(cli): publish and read content-store files (child 4; needs feat(k8s): apply store buckets, keys and rules from git #4756 and dan-petty/homelab#341).
- feat(k8s): Add scheduled off-node backup and restore for Gitea #2144 feat(k8s): add scheduled off-node backup and restore for Gitea (child 5; k8up; needs feat(k8s): apply store buckets, keys and rules from git #4756).
- feat(k8s): add cert-manager and the Barman Cloud plugin #4764 feat(k8s): add cert-manager and the Barman Cloud plugin (child 6; no dependency; start now).
- dan-petty/homelab#332 feat(k8s): back up the gateway database off its node (child 7; needs feat(k8s): apply store buckets, keys and rules from git #4756 and feat(k8s): add cert-manager and the Barman Cloud plugin #4764).
- dan-petty/homelab#342 feat(k8s): back up the Mattermost database off its node (child 8; needs dan-petty/homelab#332).
- feat(k8s): back up the other app volumes off their node #4767 feat(k8s): back up the other app volumes off their node (child 9; needs feat(k8s): Add scheduled off-node backup and restore for Gitea #2144).
- feat(review): keep runner review sessions in the store #4768 feat(review): keep runner review sessions in the store (child 10; needs feat(roadmap): devops review runs in the runner shell #3827 and feat(cli): publish and read content-store files #4761).
- feat(argo): use the store as the Argo artifact repository #4769 feat(argo): use the store as the Argo artifact repository (child 11; needs feat(k8s): let Argo Workflows run roadmap pods in devops #4566 and feat(k8s): apply store buckets, keys and rules from git #4756).
- dan-petty/homelab#343 feat(k8s): copy the store to a cloud backup target (child 12; held; needs feat(k8s): apply store buckets, keys and rules from git #4756).
Suspected block
None from the release age. The owner removed the minimum release age on 2026-11-11, so the store child pins 4.53 (or a newer supported release) and has no date hold.
Dependencies
None.
Alternatives check of 2026-12-01: in-use.
The repository already uses this tool.
Tool: SeaweedFS (https://github.com/seaweedfs/seaweedfs), Apache-2.0, last activity 2026-12-01, maintained.
Reason: The searches and the repository facts show that SeaweedFS with its operator already gives the S3 store, the replication and the operator CRs that the issue needs. It does not cover the volume backups, the database backups or the files host, so it covers the store part only.
Covers:
- S3-compatible object store served by one cluster
- Replication across volume servers for two object copies
- Operator CRs for buckets, identities, policies and lifecycle
- Helm chart and CRDs for the cluster deployment
Lacks:
- Volume backup schedules for the hostPath data
- Database backup through the Barman Cloud plugin
- Files host that proxies GET and HEAD
- Keyring, content kinds, pending queue and store-down messages
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(k8s)scope of the title gives the scope.It is a prerequisite for dan-petty/devops-cli#2144, dan-petty/homelab#332, and dan-petty/devops-cli#4733, and addresses an active data-loss risk with no current backup.It provides data safety, report accessibility, and a shared S3 target that multiple open items require.It deploys about 13 pods across 6 component types, configures the operator, sets up the files host, schedules backups, and runs restore drills.Both concern off-node backup of Gitea data; dan-petty/devops-cli#2144 delivers the Gitea backup task while the candidate delivers the S3 store, files host, and backup infrastructure that dan-petty/devops-cli#2144 depends on.dan-petty commentedon Nov 11, 2026
Standards documents for the children
Each child pull request changes these documents together with its feature (AGENTS.md rule 8). This list names only the documents that the child issue does not name. dan-petty/homelab#332 names
k8s/README.md, so it is not in the list.k8s/README.md: a new section for the object store.SECURITY.md: the report access behind Cloudflare Access, and the reports of private repositories under/private/.k8s/README.md: a new section for the backups, with k8up for volumes, the CloudNativePG Barman Cloud plugin for databases, and the restore procedure of each. feat(k8s): Add scheduled off-node backup and restore for Gitea #2144 names the rootREADME.mdand Velero. This plan usesk8s/README.mdand k8up.docs/SELF_IMPROVEMENT.md: the report links and their retention.devops-cli-service commentedon Nov 11, 2026
Refine cannot set this item to Ready at fbe8984 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
dan-petty commentedon Nov 11, 2026
Owner direction of 2026-11-11:
New rule: no minimum release age for dependencies, images, charts or tools. Pin the newest release that fixes the known security and bug issues and that the surrounding tools support (the tests pass).
Body changes: the SeaweedFS version rule now uses the new rule (4.53 or newer, never older than 4.52; operator app 1.0.44 and chart 0.1.47 or newer). The hold "merge on or after 2026-11-16" on #4750 is removed. The "Used" line no longer asks for pins that are 14 days old. In the refine section, the version-pin requirement, its scenario (now: pin 4.53 with operator app 1.0.44), the 14-day question, the fit list and the suspected block follow the new rule. All other parts of the body did not change.
dan-petty commentedon Nov 13, 2026
The SRE service spec (#5445,
docs/SRE.md, Backups and restore tests) sets a restore test of each backup of owned state once a month, into a new namespace. The test compares a known record and writes its result and its age as a metric. An alert fires when the last good test is older than its target.Each child of this tracker has one restore drill. Please make the drill a monthly scheduled run with that metric, so that the target "Restore drills that passed" stays true after the first drill.
devops-cli-service commentedon Nov 14, 2026
Alternatives check: in-use
Reason: Searches for an S3 store on three nodes returned no usable hits, so I read the repositories the issue names: SeaweedFS is Apache-2.0, not archived, pushed on 2026-11-14 with release 4.53, and its operator (0.1.47, also Apache-2.0) reconciles buckets with replication, so it covers the object-store half of this tracker. It does not cover the rest of the goal — volume backups with restore drills, database backups, the files host and the
devops storeadapter — which the plan assigns to k8up, the Barman Cloud plugin, nginx and project code.The item already names this tool.
Tool: seaweedfs/seaweedfs (https://github.com/seaweedfs/seaweedfs)
Covers:
001) so each object keeps two copies on different volume servers, set through the operator or helm bucket settingsLacks:
devops storeCLI adapter that joins the keyring, content kinds, pending queue and store-down messagesTools considered:
Searches run:
Sources:
Checked on 2026-11-14. A person decides what this means for the item. The check changes no label and closes no issue.
fix(roadmap): Keep blockers that a sentence opens with other words (#…
dan-petty commentedon Nov 21, 2026
Answer to the owner question "Who pushes the store secrets to the cluster before a merge?": I do. This repeats my decision of 2026-11-11 in this body. No person types a value, because each row has a generator.
For each child that adds a Secret in a namespace that exists (#4756 and each backup child), I do these steps from the pull request branch, before the merge:
uv run devops k8s push-secrets --only <namespace>/<name> --plan, with one--onlyfor each Secret that the branch adds. Expect only new keys.--plan.unchanged.#4750 makes the new namespace
object-store, andpush-secrets --onlystops on a missing namespace. So #4750 follows the Gitea rollout ofk8s/README.md: I merge, Applicationbasecreates the namespace, and then I pushseaweedfs-adminand each JWT signing key Secret. No person applies a manifest by hand.The Secrets of the children:
object-store/seaweedfs-adminand each JWT signing key Secret, in stackinfra.object-store-<identity>in each writer namespace, 7 Secrets.Keep one key pair for each writer. With one shared key, a leaked key opens the backups of every writer.
The same answer applies to the questions of #4756 and #4750.
dan-petty commentedon Nov 25, 2026
Update on child 5 (
#2144):#2144,#7022, and PR#7059closed as not planned (not merged), and the scheduledk8upGitea backup, alert, and restore work moved to https://github.com/dan-petty/homelab/issues/198. Note also that the merged planning folderopenspec/changes/2144-add-scheduled-off-node-backup-and/(from#7034) remains onmain.