Repository navigation
Description
Problem or Motivation
The cluster has no object store. #2144, dan-petty/homelab#332, the project review reports and later the Argo artifacts need an S3 target that keeps copies off the source node. kubectl get crd shows no store, and kubectl get pv shows 19 local-path PVs with no backup. The owner asks for a permissive license (decision 1 of #4742), so the store is SeaweedFS (Apache-2.0) and not Garage (AGPL-3.0).
Proposed Solution & Architectural Design
- Namespace
object-store(Pod Security restricted) and a new stackstorage. - Argo CD Application
seaweedfs-operator: Helm repositoryhttps://seaweedfs.github.io/seaweedfs-operator, chart 0.1.47 or newer (appVersion1.0.44), app 1.0.44 or newer, CRDs from the chart, sync-wave -1. Argo CD Applicationobject-storefork8s/object-store/. - Version rule (owner, 2026-11-11): no minimum release age. Pin the newest SeaweedFS release on the build day that fixes the known security and bug issues, that the operator and the chart support, and that passes the tests. On 2026-11-11 that is 4.53 (2026-11-08). Never pin a release 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). Pin the imagechrislusf/seaweedfsby digest. Pin the newest operator app and chart that support that release: operator app 1.0.44 builds against SeaweedFS 4.53 (commit4ab66fb76da8, release notes of 1.0.44), and chart 0.1.47 hasappVersion1.0.44. - Seaweed CR:
- 3 masters (Raft,
defaultReplication001,volumeSizeLimitMB1000, volume growthcopy_22, extra argument-telemetry=false); - 3 volume servers (hostname anti-affinity, 300Gi
fast-nvmeclaims,maxVolumeCounts300,minFreeSpacePercent10); - 2 filers (leveldb2 on 10Gi claims, no S3 in the filer, because the operator marks it deprecated);
- the standalone S3 gateway
spec.s3with 2 replicas on port 8333; - 1 admin with
credentialsSecretseaweedfs-admin(GHSA-m3m8-mrgq-hf9h: with no password, the admin HTTP API has no authentication); - 1 worker (vacuum, volume balance, admin script and S3 lifecycle; no erasure coding).
- 3 masters (Raft,
- JWT signing for volume and filer writes. S3 Tables, Iceberg, Lance, STS, OIDC, SFTP, WebDAV and the IAM API stay off. Restricted security contexts, PodDisruptionBudgets and metrics ports.
- The AppProject
sourceReposentry and destination. - NetworkPolicy
object-store-perimeter: only the worker pods reach the admin gRPC port 33646 (GHSA-3qr2-qw48-cj6q: that listener has no authentication); no internet egress. - ClusterSecret rows for
seaweedfs-admin(a new keyring row) and the JWT signing keys. - A PrometheusRule (under-replicated volumes, no leader, a volume server down, read-only volumes, low node disk) and the SeaweedFS dashboard ConfigMap from the pinned tag.
- A placement row that reads the storage class of the Seaweed CR.
- A test in the
k8srow that fails when a manifest holdsfs.mergeVolumes(seaweedfs/seaweedfs#12521can lose a completed object). - A README section with the node restore and the version rule, and a new ADR (the next free number) that records the store choice.
Target Subsystem
Kubernetes & Minikube Automation (k8s/object-store/, k8s/argocd/, k8s/monitoring/).
Existing Tool Considered
SeaweedFS and the SeaweedFS operator (both Apache-2.0, checked with the GitHub license API on 2026-11-11). The operator makes the StatefulSets, Deployments and Services, so no hand-written workload. Rejected: Garage and MinIO (AGPL-3.0), Ceph RGW (LGPL, raw devices), RustFS (at least 4 nodes, a CLA that allows a relicense), versitygw (no replication), s3proxy (no lifecycle), Apache Ozone and CubeFS (4 or 5 service types). #4742 gives the reasons. No custom code.
Acceptance Criteria
- The pinned SeaweedFS release is the newest release on the build day that the operator supports: 4.53 or newer, and never 4.48 to 4.51. The operator is the newest app that supports it: app 1.0.44 or newer from chart 0.1.47 or newer.
kubectl -n object-store get pods -o wideshows 3 master, 3 volume, 2 filer, 2 s3, 1 admin, 1 worker and 1 operator pods Running. The 3 volume pods are on 3 different nodes, and the claims are Bound with classfast-nvme.- The admin UI (through port-forward) refuses a request with no password.
- A TCP connect from a files pod to port 33646 fails. From the worker pod, it works.
- The master command line holds
-telemetry=false. - The Argo CD apps
seaweedfs-operatorandobject-storeare Synced and Healthy. kubectl get ingress -Ashows no host for the master, volume, filer or admin ports.- Namespace
object-storerequests at most 1 CPU and 3 GiB of memory. - The build test passes, and the PR gives the results:
- 4 parallel 150 MB multipart uploads with boto3, and one minio-go streaming upload of unknown size, through the S3 Service;
- a key written through one S3 gateway pod shows in ListObjectsV2 through the other within 10 seconds (the PR gives the delay);
- with one volume pod deleted, a PUT and a GET succeed.
- The
k8srow ofdevops cipasses with the new placement, network policy, Secret gate andfs.mergeVolumesrows. - A person ran
uv run devops k8s push-secretsbefore the merge.
Dependencies
- fix(k8s): the placement rule fits the NVMe and covers CNPG clusters #3782 (the placement rule fits the NVMe and covers CNPG clusters).
- Tracker: feat(k8s): track the cluster content store #4742 (child 1).
Source: #4742
Alternatives check of 2026-11-20: in-use.
The item already names this tool.
Tool: seaweedfs/seaweedfs-operator (https://github.com/seaweedfs/seaweedfs-operator), Apache-2.0, last activity 2026-11-18, maintained.
Reason: Web searches returned nothing usable, but the repository facts and the operator README confirm the SeaweedFS operator reconciles masters, volume servers, filers and an S3 gateway from a Seaweed CR, so the store needs no custom workload.
Covers:
- Creates master, volume, filer, S3, admin and worker workloads from one Seaweed CR
- Ships the Seaweed CRD in the Helm chart
- Manages multi-node masters and volume servers with rolling upgrades
- Serves an S3-compatible API with IAM authentication
Lacks:
- Project NetworkPolicy, PodDisruptionBudgets and ServiceMonitor
- ClusterSecret rows, Argo CD Applications and AppProject entries
- Placement, Secret-gate and fs.mergeVolumes checks plus the cluster test script
- ADR 0026 is already the OpenTofu GitHub settings ADR
Proposed design
Problem statement
The cluster has no S3-compatible object store for #2144, dan-petty/homelab#332, the project review reports and the Argo artifacts, and its 19 local-path volumes have no backup. The change adds a three-node SeaweedFS store in namespace object-store, deployed by the SeaweedFS operator and its Helm chart, with replication 001, a standalone S3 gateway, JWT signing, a worker-only admin perimeter, ClusterSecret rows, alerts, a dashboard and the k8s checks. SeaweedFS and the operator are Apache-2.0, which meets the permissive-license rule of CONTRIBUTING.md:24.
Acceptance criteria
Requirement: Object-store namespace
The object-store Namespace SHALL set Pod Security restricted and the Prune=false,Delete=false sync annotation.
Scenario: Restricted namespace
- WHEN
uv run devops ci --check --only k8sruns on a fixture whoseobject-storeNamespace lacks the restricted label. - THEN The row fails and names the
object-storeNamespace.
Requirement: Operator application
The Argo CD Application seaweedfs-operator SHALL use project homelab, the SeaweedFS chart 0.1.47 or newer, chart CRDs and sync-wave -1.
Scenario: Operator app fields
- WHEN
uv run devops ci --check --only k8srenders the Applicationseaweedfs-operator. - THEN The row passes with project
homelab, the SeaweedFS repository, a chart at least 0.1.47, chart CRDs and sync-wave -1.
Requirement: Object-store application
The Argo CD Application object-store SHALL deploy k8s/object-store/ in project homelab after the operator.
Scenario: Object-store app fields
- WHEN
uv run devops ci --check --only k8srenders the Applicationobject-store. - THEN The row passes with source path
k8s/object-store/, projecthomelaband a sync-wave greater than -1.
Requirement: AppProject access
The AppProject homelab SHALL add the SeaweedFS repository to sourceRepos and namespace object-store to its destinations.
Scenario: AppProject fields
- WHEN
uv run devops ci --check --only k8srendersk8s/argocd/apps/projects.yaml. - THEN The row passes with the SeaweedFS repository and a destination of namespace
object-store.
Requirement: Infra stack entries
The infra stack SHALL name the SeaweedFS operator chart in HELM_REPOS_BY_STACK and HELM_RELEASES_BY_STACK.
Scenario: Infra stack entries
- WHEN A test imports
HELM_REPOS_BY_STACKandHELM_RELEASES_BY_STACKfromsrc/devops_cli/commands/k8s/stack_lifecycle.py. - THEN Both maps have an
infraentry for the SeaweedFS operator chart.
Requirement: Release pin
The image chrislusf/seaweedfs SHALL use a release tag of 4.53 or newer with a digest and MUST NOT use 4.48 to 4.51.
Scenario: Release guard
- WHEN
uv run devops ci --check --only k8sruns on a fixture image reference of 4.48. - THEN The row fails and names the excluded release.
Requirement: Operator version
The operator Application SHALL use chart 0.1.47 or newer with app version 1.0.44 or newer.
Scenario: Operator version guard
- WHEN
uv run devops ci --check --only k8sruns on a fixture operator chart 0.1.46. - THEN The row fails and names the chart floor.
Requirement: Master quorum
The Seaweed CR SHALL run 3 masters with replication 001, volumeSizeLimitMB 1000 and volume growth copy_2 2.
Scenario: Master fields
- WHEN
uv run devops ci --check --only k8srenders the Seaweed CR. - THEN The row passes with 3 masters, replication
001,volumeSizeLimitMB1000 and volume growthcopy_22.
Requirement: Volume servers
The Seaweed CR SHALL run 3 volume servers with fast-nvme claims, hostname anti-affinity, maxVolumeCounts 300 and minFreeSpacePercent 10.
Scenario: Volume fields
- WHEN
uv run devops ci --check --only k8srenders the Seaweed CR. - THEN The row passes with 3 volume servers,
fast-nvmeclaims, hostname anti-affinity,maxVolumeCounts300 andminFreeSpacePercent10.
Requirement: Filers and S3 gateway
The Seaweed CR SHALL run 2 filers on leveldb2 with no S3, and a 2-replica S3 gateway on port 8333.
Scenario: Filer and S3 fields
- WHEN
uv run devops ci --check --only k8srenders the Seaweed CR. - THEN The row passes with 2 leveldb2 filers, no S3 in the filer, and a 2-replica S3 gateway on port 8333.
Requirement: Admin and worker
The Seaweed CR SHALL run 1 admin and 1 worker with vacuum, volume balance, admin script and S3 lifecycle, and no erasure coding.
Scenario: Admin and worker fields
- WHEN
uv run devops ci --check --only k8srenders the Seaweed CR. - THEN The row passes with 1 admin, 1 worker and no erasure coding.
Requirement: Admin credentials and JWT
The Seaweed CR SHALL set credentialsSecret seaweedfs-admin on the admin and enable JWT signing for volume and filer writes.
Scenario: Admin and JWT fields
- WHEN
uv run devops ci --check --only k8srenders the Seaweed CR. - THEN The row passes with
credentialsSecret: seaweedfs-adminand JWT signing on the volume and filer specs.
Requirement: Admin authentication
The admin UI SHALL refuse a request with no password.
Scenario: No password
- WHEN
curl -s -o /dev/null -w '%{http_code}' http://localhost:23646/runs through a port-forward with no credentials. - THEN The response is 401 or 403.
Requirement: Telemetry off
The Seaweed master command line SHALL hold -telemetry=false.
Scenario: Telemetry off
- WHEN
uv run devops ci --check --only k8srenders the Seaweed CR. - THEN The row passes with
-telemetry=falsein the master command line.
Requirement: Optional features off
The Seaweed CR SHALL leave S3 Tables, Iceberg, Lance, STS, OIDC, SFTP, WebDAV and the IAM API off.
Scenario: Optional features off
- WHEN
uv run devops ci --check --only k8sruns on a fixture that turns on S3 Tables. - THEN The row fails and names the optional feature.
Requirement: Worker-only perimeter
NetworkPolicy object-store-perimeter SHALL admit only worker pods on TCP 33646.
Scenario: Worker-only perimeter
- WHEN
uv run devops ci --check --only k8sruns on a fixture whose perimeter admits a non-worker pod on 33646. - THEN The row fails and names the NetworkPolicy.
Requirement: No internet egress
NetworkPolicy object-store-perimeter SHALL deny internet egress from namespace object-store.
Scenario: No internet egress
- WHEN
uv run devops ci --check --only k8sruns on a fixture whose perimeter allows egress to0.0.0.0/0. - THEN The row fails and names the NetworkPolicy.
Requirement: Workload security and budgets
The object-store pods SHALL use a restricted security context, each workload SHALL have a PodDisruptionBudget, and each SeaweedFS Service SHALL declare a metrics port.
Scenario: Workload security and budgets
- WHEN
kubectl -n object-store get pods,pdb,services -o jsonruns after the store is deployed. - THEN Every pod reports
runAsNonRoot: trueandallowPrivilegeEscalation: false, every workload has a budget, and every SeaweedFS Service has a metrics port.
Requirement: Pod counts
The object-store namespace SHALL run 3 master, 3 volume, 2 filer, 2 S3, 1 admin, 1 worker and 1 operator pods.
Scenario: Live pod counts
- WHEN
kubectl -n object-store get pods -o wideruns. - THEN Every pod is Running with the required counts.
Requirement: Volume placement
The 3 volume pods SHALL run on 3 different nodes, and their claims SHALL be Bound with class fast-nvme.
Scenario: Live volume placement
- WHEN
kubectl -n object-store get pods -o wideandkubectl -n object-store get pvcrun. - THEN The 3 volume pods are on 3 different nodes, and the volume claims are Bound with class
fast-nvme.
Requirement: ServiceMonitor
The change SHALL add a ServiceMonitor in k8s/object-store/ for the SeaweedFS metrics ports in namespace object-store.
Scenario: ServiceMonitor fields
- WHEN
uv run devops ci --check --only k8srenders thek8s/object-store/kustomization. - THEN The row passes with a ServiceMonitor that names namespace
object-store, a non-empty selector and a metrics port.
Requirement: ClusterSecret rows
CLUSTER_SECRETS SHALL hold rows for object-store/seaweedfs-admin and each JWT signing key with stack infra.
Scenario: ClusterSecret rows
- WHEN A test imports
CLUSTER_SECRETSfromsrc/devops_cli/k8s/cluster_secrets.py. - THEN Rows name
object-store/seaweedfs-adminand the JWT signing keys with stackinfraand a generator for each value.
Requirement: Secret gate
The k8s row SHALL fail when a manifest references a Secret with no ClusterSecret row.
Scenario: Secret gate
- WHEN
uv run devops ci --check --only k8sruns on a fixture that references a Secret with no row. - THEN The row fails and names the Secret.
Requirement: Secret push
A person SHALL run uv run devops k8s push-secrets for object-store/seaweedfs-admin and each JWT key after namespace object-store exists.
Scenario: Admin Secret pushed
- WHEN The person runs
uv run devops k8s push-secrets --only object-store/seaweedfs-admin --planafter the push. - THEN The plan shows
unchangedforobject-store/seaweedfs-admin.
Requirement: Alerts and dashboard
The seaweedfs alert group SHALL cover the five conditions, and the SeaweedFS dashboard SHALL be in the configMapGenerator.
Scenario: Alerts and dashboard
- WHEN
promtool check rulesruns on the renderedalerting_rules.ymlanduv run devops ci --check --only k8srenders the dashboards kustomization. - THEN promtool accepts the group with an alert for each of the five conditions, and the row passes with a
grafana_dashboardlabel of1for SeaweedFS.
Requirement: Placement guard
The k8s row SHALL fail when a Seaweed CR volume claim or affinity lacks the control-plane anti-affinity.
Scenario: Seaweed CR placement
- WHEN
uv run devops ci --check --only k8sruns on a fixture Seaweed CR whose volume claim has no control-plane anti-affinity. - THEN The row fails and names the Seaweed CR.
Requirement: Forbidden merge field
The k8s row SHALL fail when a rendered manifest holds fs.mergeVolumes.
Scenario: Forbidden field
- WHEN
uv run devops ci --check --only k8sruns on a fixture manifest that includesfs.mergeVolumes. - THEN The row fails and names the field.
Requirement: No Ingress host
The master, volume, filer and admin ports SHALL have no Ingress host.
Scenario: No Ingress host
- WHEN
uv run devops ci --check --only k8srenders all Ingress resources. - THEN The row passes with no Ingress host for the master, volume, filer or admin ports.
Requirement: Resource budget
The sum of the requests in namespace object-store SHALL be at most 1 CPU and 3 GiB of memory.
Scenario: Resource budget
- WHEN
uv run devops ci --check --only k8srenders the Seaweed CR. - THEN The row passes with a request sum of at most 1 CPU and 3 GiB.
Requirement: Cluster test
The object-store test script SHALL check 4 parallel 150 MB multipart uploads, one minio-go streaming upload, cross-gateway visibility, a volume-pod failure and TCP 33646 reachability.
Scenario: Cluster test
- WHEN The object-store test script runs against the cluster.
- THEN It reports each upload, the cross-gateway delay within 10 seconds, a successful PUT and GET with one volume pod deleted, a failed TCP connect from a files pod to 33646 and a successful one from the worker pod.
Requirement: CI row
The k8s row of devops ci SHALL pass with the new checks.
Scenario: k8s CI row
- WHEN
uv run devops ci --check --only k8sruns on the change. - THEN The row passes with the new placement, network policy, Secret gate, ServiceMonitor and
fs.mergeVolumeschecks.
Requirement: Argo CD health
The Argo CD Applications seaweedfs-operator and object-store SHALL be Synced and Healthy.
Scenario: Argo CD health
- WHEN
kubectl -n argocd get applications seaweedfs-operator object-store -o jsonruns after the sync. - THEN Both Applications report
SyncedandHealthy.
Requirement: Documentation
The README SHALL document node restore and the version rule, and ADR 0030 SHALL record the SeaweedFS choice.
Scenario: Documentation files
- WHEN
uv run devops ci --check --only docsruns on the change. - THEN The row passes with the README node-restore and version-rule sections and ADR 0030 in the ADR index.
Existing Tool Considered
seaweedfs/seaweedfs-operator (https://github.com/seaweedfs/seaweedfs-operator), Apache-2.0, last activity 2026-11-18, maintained, in use. The alternatives block of 2026-11-20 lists what the tool lacks. It reconciles the SeaweedFS masters, volume servers, filers, S3 gateway, admin and worker from one Seaweed CR, so the change writes no custom workload.
Key questions
- Which object store and license does the change use?: Use SeaweedFS with the SeaweedFS operator. Both are Apache-2.0.
CONTRIBUTING.md:24permits Apache-2.0, MIT, BSD or a similar permissive license and forbids AGPL, SSPL and BSL, so Garage and MinIO fail. Ceph RGW adds raw-device operations. (best practice) [sources: CONTRIBUTING.md:24, https://github.com/seaweedfs/seaweedfs-operator]- Chosen: SeaweedFS with the SeaweedFS operator. Apache-2.0, maintained, and the operator reconciles the workloads from a Seaweed CR.
- Rejected: Garage. AGPL-3.0 fails the permissive-license rule of CONTRIBUTING.md.
- Rejected: MinIO. AGPL-3.0 fails the permissive-license rule of CONTRIBUTING.md.
- Rejected: Ceph RGW. LGPL and raw devices add operational cost.
- Does the change use the SeaweedFS operator or hand-written workloads?: Use the SeaweedFS operator. Its README (fetched 2026-11-21) says it manages the complete SeaweedFS infrastructure on Kubernetes, including the master servers, volume servers and filer services with an S3-compatible API and embedded IAM, with automatic rolling upgrades, and that the Helm chart ships the
SeaweedCRD. The change writes no custom workload. (best practice) [sources: https://github.com/seaweedfs/seaweedfs-operator]- Chosen: SeaweedFS operator. It is Apache-2.0, maintained, and reconciles every workload from the Seaweed CR.
- Rejected: Hand-written StatefulSets and Deployments. It adds code that the operator maintains.
- Which SeaweedFS and operator versions does the change pin?: Follow the owner rule in
CONTRIBUTING.md:35: no minimum release age. On the build day pin the newest SeaweedFS release that fixes the known security and bug issues, that the operator and chart support, and that passes the tests. Never pin 4.48 to 4.51 because they break minio-go multipart uploads; 4.52 has the fix. On 2026-11-11 that is 4.53 with operator app 1.0.44 from chart 0.1.47. Pin the image by digest. The k8s row enforces the floor and the excluded range. (best practice) [sources: CONTRIBUTING.md:35, https://github.com/seaweedfs/seaweedfs-operator]- Chosen: Newest supported release on the build day. The owner rule of 2026-11-11 removes the minimum release age and lets a security or bug fix ship at once.
- Rejected: Freeze 4.53 until a later item. A frozen pin keeps later security fixes out.
- Rejected: Two-week minimum release age. The owner removed this rule on 2026-11-11.
- Which S3 gateway mode does the change use?: Use the standalone
spec.s3gateway with 2 replicas on port 8333, and keep S3 off the filer spec. The operator README (fetched 2026-11-21) says the operator runs the filer services with an S3-compatible API and embedded IAM and creates an Ingress for S3, so the S3 API is an operator-managed workload with its own Service rather than something the change writes. (best practice) [sources: https://github.com/seaweedfs/seaweedfs-operator]- Chosen: Standalone
spec.s3gateway. It keeps the S3 API in its own stateless Deployment and Service, apart from the filers and their metadata volumes. - Rejected: S3 in the filer. It couples the S3 API to the filer pods and their metadata volumes; the operator documents S3 as its own ingress target.
- Chosen: Standalone
- Where do the operator chart and ClusterSecret rows go, and who pushes the secret?: Add the SeaweedFS operator chart to
HELM_REPOS_BY_STACKandHELM_RELEASES_BY_STACKunderinfra. Add theobject-store/seaweedfs-adminrow and each JWT signing key row toCLUSTER_SECRETSwith stackinfra. Do not add astoragestack:CONST_K8S_STACKSisinfra,llm,logging,devops,giteaandchat, sodeploy-stackwould not push astoragerow. KeepcredentialsSecret: seaweedfs-adminand JWT signing. The owner merges first so Applicationbasecreates namespaceobject-store; the pods wait inCreateContainerConfigError. The owner then runsuv run devops k8s push-secrets --only object-store/seaweedfs-adminwith one more--onlyfor each JWT signing key Secret, and repeats--planuntil each key showsunchanged. An agent then checks that the pods start and the admin API refuses a request with no credential. (best practice) [sources: src/devops_cli/commands/k8s/stack_lifecycle.py:76, src/devops_cli/commands/k8s/stack_lifecycle.py:129, src/devops_cli/config/constants.py:1218, src/devops_cli/k8s/cluster_secrets.py:220, k8s/README.md:736]- Chosen: Existing
infrastack and owner rollout. The stack exists, so deploy-stack pushes the rows; the owner creates the namespace first. - Rejected: New
storagestack.CONST_K8S_STACKShas nostoragestack, so deploy-stack would never push the rows. - Rejected: No credentials. The admin HTTP API would have no authentication.
- Chosen: Existing
- How does the change protect the admin gRPC port 33646?: Add NetworkPolicy
object-store-perimeterthat admits only worker pods on TCP 33646 and denies internet egress, and keep the admin UI reachable only through a port-forward. Advisory GHSA-3qr2-qw48-cj6q (published 2026-11-09, fetched 2026-11-21) says the worker/plugin gRPC control plane requires no authentication, binds to all interfaces and defaults to the admin HTTP port plus 10000 (33646). It lists affected versions <= 4.47 and no patched version, so the change does not rely on a fixed release and the network allow-list remains the control. (best practice) [sources: https://github.com/seaweedfs/seaweedfs/security/advisories/GHSA-3qr2-qw48-cj6q]- Chosen: Worker-only NetworkPolicy. The advisory says the worker gRPC control plane has no authentication and binds to all interfaces.
- Rejected: No network policy. It leaves an unauthenticated control plane reachable from every pod in the cluster.
- Which storage class and claim size do the volume servers use?: Use 300Gi
fast-nvmeclaims with hostname anti-affinity across 3 nodes.fast-nvmeis thelocal-pathprovisioner with reclaim policyRetain, so a deleted claim keeps its volume, and replication001keeps copies on other nodes. (best practice) [sources: k8s/README.md:35, k8s/README.md:455, k8s/README.md:480]- Chosen: 300Gi
fast-nvmeclaims. The class keeps a volume after the claim is deleted, and the placement rule reads the claims. - Rejected: Default
local-pathclaims.local-pathreclaims the volume withDelete, which drops the store data with the claim.
- Chosen: 300Gi
- Which Argo CD project holds the object-store Applications?: Use the existing
homelabproject. Add the SeaweedFS Helm repository to itssourceReposand namespaceobject-storeto its destinations. Workload Applications such as qdrant, llm and monitoring usehomelab;homelab-systemholds cluster-wide addons.infrais the deploy-stack and ClusterSecret stack, not a new AppProject. (best practice) [sources: k8s/argocd/apps/projects.yaml:4, k8s/argocd/apps/projects.yaml:11, k8s/argocd/apps/projects.yaml:24, k8s/argocd/apps/qdrant.yaml:9, k8s/argocd/apps/cert-manager.yaml:9]- Chosen: Existing
homelabproject. The workload Applications usehomelab, and its destinations already hold each workload namespace. - Rejected: New
storageAppProject. The repository keepshomelabandhomelab-system; a third duplicates the source list and the destinations.
- Chosen: Existing
- Where does the
object-storenamespace live?: Ink8s/namespaces.yamlwith Pod Securityrestrictedandargocd.argoproj.io/sync-options: Prune=false,Delete=false, applied by Applicationbase. (best practice) [sources: k8s/namespaces.yaml:100, k8s/namespaces.yaml:110, k8s/kustomization.yaml:5]- Chosen:
k8s/namespaces.yaml. It is the one list of the cluster namespaces, and the sync option keeps the namespace when a sync prunes. - Rejected: A manifest in
k8s/object-store/. Two Applications would own the namespace, and a prune ofobject-storecould delete it with the store data.
- Chosen:
- Where do the SeaweedFS alerts and dashboard go?: Put the
seaweedfsgroup ink8s/monitoring/prometheus-values.yamlunderserverFiles.alerting_rules.yml, with a row per alert in the README alert table. Put the dashboard JSON ink8s/monitoring/dashboards/and list it in theconfigMapGenerator. (best practice) [sources: k8s/monitoring/prometheus-values.yaml:203, k8s/monitoring/dashboards/kustomization.yaml:32, k8s/README.md:620, k8s/README.md:622]- Chosen: Environment rule file and dashboards generator. Environment rules live in
serverFiles.alerting_rules.yml, and the Grafana sidecar loads the generated ConfigMaps. - Rejected: A PrometheusRule and ConfigMap in
k8s/object-store/. It splits the environment rules across two owners and puts a dashboard where the generator does not read it.
- Chosen: Environment rule file and dashboards generator. Environment rules live in
- How does the change scrape the SeaweedFS metrics?: Add a ServiceMonitor in
k8s/object-store/for the metrics ports of the SeaweedFS Services. Theprometheus-operator-crdsrelease installs the CRD, and Alloy scrapes every ServiceMonitor. (best practice) [sources: k8s/README.md:314, k8s/llm/gateway/servicemonitor.yaml:2, k8s/llm/kustomization.yaml:12]- Chosen: ServiceMonitor. Alloy scrapes the ServiceMonitors of the cluster services, and the infra stack installs the CRD first.
- Rejected: Pod annotations. The operator owns the pod templates, so the change cannot keep the scrape annotations on the pods it creates.
- How does the
k8srow cover the Seaweed CR placement and the forbiddenfs.mergeVolumesfield?: Add both checks to thek8srow intests/gate/k8s_checks: a reader for the Seaweed CR volume claim templates and affinity, and a check that fails onfs.mergeVolumesin any rendered manifest.uv run devops ci --check --only k8sis the proof. The placement test that fix(k8s): the placement rule fits the NVMe and covers CNPG clusters #3782 extends stays the rule for pod claims; the Seaweed CR gets its own k8s-row reader. (best practice) [sources: tests/gate/k8s.py:1, tests/gate/k8s_checks/argocd_apps.py:90, docs/TESTING.md:68, openspec/changes/3782-the-placement-rule-fits-the-nvme/proposal.md:9]- Chosen: Extend the
k8srow. The row already renders every application and is the validator that a manifest criterion names. - Rejected: Extend only the core placement test.
uv run devops ci testis no proof for a manifest criterion, and the k8s row already renders each application. - Rejected: A new standalone test file. It repeats the render and the claim readers.
- Chosen: Extend the
- Which ADR number records the store choice?: ADR 0030. Records 0026 to 0029 exist, so 0026 is already the OpenTofu GitHub settings ADR and 0030 is the next free number. (best practice) [sources: docs/adr/0026-github-settings-are-opentofu-code-the-owner-applies.md, docs/adr/0029-the-roadmap-service-serves-a-read-only-api.md]
- Chosen: ADR 0030. It is the next free number after records 0026 to 0029.
- Rejected: ADR 0026. 0026 is already the OpenTofu GitHub settings ADR.
Fit
Fits in one pull request.
Suspected block
None.
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.Multiple projects need an S3 target, but this is a new capability rather than a fix for a broken state.The advisory GHSA-m3m8-mrgq-hf9h does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.The cluster has no object store and at least three projects depend on an S3 target for off-node copies.The deployment spans 13 pods across 6 roles, plus monitoring, security policies, tests, docs, and an ADR.Both touch NVMe storage placement on the cluster, but dan-petty/devops-cli#3782 fixes the existing local-path placement rule while the candidate adds a new placement row for the SeaweedFS storage class.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 minimum release age and the hold "merges on or after 2026-11-16" are removed. The pin is the newest SeaweedFS release that the operator supports: 4.53 (2026-11-08) or newer. Releases older than 4.52 stay out, because 4.48 to 4.51 break minio-go multipart uploads (
seaweedfs/seaweedfs#12177). The operator pin is app 1.0.44 or newer (its release notes show the build against SeaweedFS 4.53) from chart 0.1.47 or newer (appVersion1.0.44). All other parts of the body did not change.devops-cli-service commentedon Nov 14, 2026
Alternatives check: in-use
Reason: The issue already names the SeaweedFS operator (and SeaweedFS) as the chosen tool, and the GitHub facts confirm it is an open, Apache-2.0, actively maintained project that covers the need: an operator that turns a Seaweed CR into the masters, volume servers, filers, S3 gateway, admin and worker workloads. No ADR in force rejects it, so it covers the whole need of running an S3-compatible object store off the source node.
The item already names this tool.
Tool: seaweedfs/seaweedfs-operator (https://github.com/seaweedfs/seaweedfs-operator)
Covers:
Lacks:
Tools 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.
devops-cli-service commentedon Nov 15, 2026
Owner question: How does the change keep the admin HTTP API authenticated? (a person decides)
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 20, 2026
Owner question: See the first point of Open questions in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
dan-petty commentedon Nov 21, 2026
Answer: keep
credentialsSecret: seaweedfs-adminand JWT signing. Put the rows forseaweedfs-adminand each JWT signing key in an existing stack (infra), notstorage.CONST_K8S_STACKShas nostoragestack, sodeploy-stackwould never push those rows.Namespace
object-storeis new, andpush-secrets --onlystops on a missing namespace. So the rollout follows the Gitea rollout ofk8s/README.md:basecreates the namespace. The pods wait inCreateContainerConfigError.uv run devops k8s push-secrets --only object-store/seaweedfs-admin, with one more--onlyfor each JWT signing key Secret.--planuntil each key showsunchanged.devops-cli-service commentedon Nov 21, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.
dan-petty commentedon Nov 21, 2026
Store perimeter: admit client namespaces by the label
backup-client: "true", which the tenant chart sets (dan-petty/infra#14), and not by namespace name. Then no service name goes into the store policy. A part of this item that is not merged before plan step 10 of #5134 lands in homelab (the step 12 freeze refuses changes to the old environment paths here), and its Secret rows go to homelabk8s/cluster-secrets.toml(dan-petty/homelab#96). The general settings of the SeaweedFS operator are a shared platform stack: after this item lands, a later infra item adds them as a values template, and a homelab switch follows.devops-cli-service commentedon Nov 21, 2026
Released in v0.190.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.190.0
devops-cli-service commentedon Nov 21, 2026
Live since 2026-11-21 23:18 UTC
dan-petty commentedon Nov 21, 2026
Rollout and build test of the object store on 2026-11-21, after the merge of #6689 and the Secret push (
--planshowed each keyunchanged).Rollout check (
k8s/README.md, Object Store, step 4): pass.Seaweed cluster is ready.fast-nvme. Applicationsseaweedfs-operatorandobject-storeare Synced and Healthy. No Ingress names a SeaweedFS Service. The master command line holds-telemetry=false.Build test.
nc -z -w 3 seaweedfs-admin 33646fromseaweedfs-filer-0exits 0 (want not 0); from the worker it exits 0. Cause: the network policy controller of the cluster does not apply the ingress rules of a pod when an egress rule of the source pod allows the traffic, andobject-store-perimeterallows in-namespace egress on all ports. The fix is fix(k8s): narrow the in-namespace egress of the object store #6707 (P1); the same shape in 7 other namespaces is fix(k8s): an in-namespace egress allow skips the ingress rules #6708./loginand/api/cluster/topologyanswers 401. An unsigned request to a gateway answers 403.build-testfrom the admin UI and its keys, so they are person steps. No namespace has the labelbackup-client: "true"yet, so no pod outside the namespace reaches the S3 gateway.