[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>
This commit is contained in:
parent
efd96877ab
commit
ca1fd6d7f2
1 changed files with 15 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue