Compare commits

...

1 Commits

Author SHA1 Message Date
Timofei Larkin
ca1fd6d7f2 [seaweedfs] Record bucket disk usage
This patch adds a sidecar to the SeaweedFS volume statefulset with the
filestat exporter which records file metrics about the bucket-* files.
This provides a way to meter the object storage disk usage.

```release-note
[seaweedfs] Measure and record the disk size of S3 buckets.
```

Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
2025-10-27 15:13:36 +03:00

View File

@@ -30,6 +30,21 @@ seaweedfs:
type: "persistentVolumeClaim"
size: "10Gi"
maxVolumes: 0
sidecars: |-
- name: exporter
image: mdoubez/filestat_exporter:latest
ports:
- containerPort: 9943
name: filemetrics
args:
- "-config.file"
- "none"
- "-path.cwd"
- "/data1"
- "bucket-*.dat"
volumeMounts:
- mountPath: /data1/
name: data1
filer:
replicas: 2
# replication type is XYZ: