Skip to content

feat(k8s): track the cluster content store #4742

Open
6 of 12 issues completed
Open

Description

@dan-petty

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:

  1. 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-cloud and cert-manager/cert-manager.
  2. Reports of private repositories can be read at files.<domain>/private/ behind Cloudflare Access. This is the same exposure as Grafana.
  3. 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-data stay out, because the cluster makes them again.
  4. 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.
  5. 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 (appVersion 1.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 001 keeps 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 runs fs.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.

Parts that other items own

Content that keeps its current home

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-stream attachments.
  • 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 at files.<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 001 and 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 store command
  • 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.
  • 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:121 records 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 and k8s/README.md gains 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-data stay 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-data come 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.md gets a section for the object store (children 1 and 2) and a section for the backups (children 5, 6, 8 and 9). SECURITY.md gets the report access behind Cloudflare Access (child 3). docs/SELF_IMPROVEMENT.md gets 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 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 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 store adapter. 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.
  • Who pushes the store secrets to the cluster before a merge?: A person runs uv run devops k8s push-secrets before 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:

  1. 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).
  2. 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).
  3. 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).
  4. 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).
  5. 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).
  6. 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).
  7. 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).
  8. dan-petty/homelab#342 feat(k8s): back up the Mattermost database off its node (child 8; needs dan-petty/homelab#332).
  9. 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).
  10. 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).
  11. 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).
  12. 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

Sub-issues

Sub-issues

6 of 12 Issues completed
Loading 12 sub-issues

Activity

  1. added
    source/agent
    type/feature
    scope/k8s
    status/new
    value/high
    effort/high
    on Nov 11, 2026
  2. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/k8s. The (k8s) scope of the title gives the scope.
    • Priority: P1-High. 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.
    • Value: High. It provides data safety, report accessibility, and a shared S3 target that multiple open items require.
    • Effort: High. It deploys about 13 pods across 6 component types, configures the operator, sets up the files host, schedules backups, and runs restore drills.
    • Related: feat(k8s): Add scheduled off-node backup and restore for Gitea #2144, which asks for a different change. 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.
  3. added
    priority/p1-high
    on Nov 11, 2026
  4. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    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.

    • Children 1 and 2 (the object store, and its buckets, keys and rules; not filed yet):
      • k8s/README.md: a new section for the object store.
    • Child 3 (the files host; not filed yet):
      • SECURITY.md: the report access behind Cloudflare Access, and the reports of private repositories under /private/.
    • feat(k8s): Add scheduled off-node backup and restore for Gitea #2144 (child 5), and children 6, 8 and 9 (not filed yet):
    • Child 10 (the runner review sessions in the store; not filed yet):
      • docs/SELF_IMPROVEMENT.md: the report links and their retention.
  5. devops-cli-service commented on Nov 11, 2026

    @devops-cli-service
    Contributor

    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.

    • Who pushes the store secrets to the cluster before a merge? (a person decides)
  6. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    Owner direction of 2026-11-11:

    not sure about the "at least two weeks old" rule, sometimes security updates and bugfixes need to be used within minues of their release, as long as the tooling supports that version, it is fine to update

    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.

  7. dan-petty commented on Nov 13, 2026

    @dan-petty
    OwnerAuthor

    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.

  8. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    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 store adapter — 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)

    • License: Apache-2.0
    • Last activity: 2026-11-14
    • Maintained: yes

    Covers:

    • S3-compatible object store served by the standalone S3 gateway on 3 nodes
    • Bucket replication (e.g. 001) so each object keeps two copies on different volume servers, set through the operator or helm bucket settings
    • Buckets, identities, keys, policies and lifecycle rules as operator CRs in git, with no reconcile Job
    • Apache-2.0 license, which the owner decision requires
    • Actively maintained upstream and operator, with the newest release 4.53 (2026-11-08) and operator 0.1.47

    Lacks:

    • Scheduled volume backups and restore drills — the plan uses k8up/restic for that
    • Database backups — the plan uses the CloudNativePG Barman Cloud plugin
    • A browser-facing files host with GET/HEAD proxying and Cloudflare Access — the plan uses nginx-unprivileged
    • The devops store CLI adapter that joins the keyring, content kinds, pending queue and store-down messages
    • The later offsite copy to a cloud backup target — the plan uses rclone

    Tools considered:

    Searches run:

    • SeaweedFS S3 gateway replication Kubernetes operator object store, results: 5
    • open source S3 compatible object store Kubernetes permissive license 3 nodes, results: 5
    • "seaweedfs-operator" buckets identities lifecycle CRD, results: 5
    • seaweedfs github S3 API filer replication 001, results: 5
    • Kubernetes S3 backup restic k8up operator, results: 5
    • SeaweedFS, results: 5
    • Garage MinIO AGPL S3 object storage Kubernetes alternatives license, results: 5
    • SeaweedFS S3 API compatible object storage Apache license features, results: 5

    Sources:

    Checked on 2026-11-14. A person decides what this means for the item. The check changes no label and closes no issue.

  9. dan-petty commented on Nov 21, 2026

    @dan-petty
    OwnerAuthor

    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:

    1. Run uv run devops k8s push-secrets --only <namespace>/<name> --plan, with one --only for each Secret that the branch adds. Expect only new keys.
    2. Run the same command without --plan.
    3. Put the new backup passwords and store keys in the offline copy at once (decision 4).
    4. Run step 1 again. Merge only when every key shows unchanged.

    #4750 makes the new namespace object-store, and push-secrets --only stops on a missing namespace. So #4750 follows the Gitea rollout of k8s/README.md: I merge, Application base creates the namespace, and then I push seaweedfs-admin and each JWT signing key Secret. No person applies a manifest by hand.

    The Secrets of the children:

    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.

  10. dan-petty commented on Nov 25, 2026

    @dan-petty
    OwnerAuthor

    Update on child 5 (#2144): #2144, #7022, and PR #7059 closed as not planned (not merged), and the scheduled k8up Gitea backup, alert, and restore work moved to https://github.com/dan-petty/homelab/issues/198. Note also that the merged planning folder openspec/changes/2144-add-scheduled-off-node-backup-and/ (from #7034) remains on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/highpriority/p1-highscope/k8ssource/agentstatus/newtype/featurevalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions