25 lines
558 B
YAML
25 lines
558 B
YAML
|
|
apiVersion: v1
|
||
|
|
kind: ConfigMap
|
||
|
|
metadata:
|
||
|
|
name: seaweedfs-filer-config
|
||
|
|
namespace: storage
|
||
|
|
data:
|
||
|
|
filer.toml: |
|
||
|
|
# SeaweedFS filer configuration
|
||
|
|
# S3 API enabled on port 8333
|
||
|
|
|
||
|
|
[leveldb2]
|
||
|
|
enabled = true
|
||
|
|
dir = "/data/filer"
|
||
|
|
|
||
|
|
[s3]
|
||
|
|
enabled = true
|
||
|
|
port = 8333
|
||
|
|
# Credentials are loaded from the seaweedfs-s3-credentials Secret
|
||
|
|
# and passed as env vars (S3_ACCESS_KEY, S3_SECRET_KEY) to the filer.
|
||
|
|
|
||
|
|
master.toml: |
|
||
|
|
[master.maintenance]
|
||
|
|
sleep_minutes = 17
|
||
|
|
garbage_threshold = 0.3
|