SeaweedFS Service Reference

Parameters

Common parameters

NameDescriptionTypeValue
hostThe hostname used to access SeaweedFS externally (defaults to ‘s3’ subdomain for the tenant host).string""
topologyThe topology of the SeaweedFS cluster.stringSimple
replicationFactorReplication factor: number of replicas for each volume in the SeaweedFS cluster.int2

SeaweedFS Components Configuration

NameDescriptionTypeValue
dbDatabase configuration.object{}
db.replicasNumber of database replicas.int2
db.sizePersistent Volume size.quantity10Gi
db.storageClassStorageClass used to store the data.string""
db.resourcesExplicit CPU and memory configuration. When omitted, the preset defined in resourcesPreset is applied.object{}
db.resources.cpuNumber of CPU cores allocated.quantity""
db.resources.memoryAmount of memory allocated.quantity""
db.resourcesPresetDefault sizing preset used when resources is omitted.stringsmall
masterMaster service configuration.object{}
master.replicasNumber of master replicas.int3
master.resourcesExplicit CPU and memory configuration. When omitted, the preset defined in resourcesPreset is applied.object{}
master.resources.cpuNumber of CPU cores allocated.quantity""
master.resources.memoryAmount of memory allocated.quantity""
master.resourcesPresetDefault sizing preset used when resources is omitted.stringsmall
filerFiler service configuration.object{}
filer.replicasNumber of filer replicas.int2
filer.resourcesExplicit CPU and memory configuration. When omitted, the preset defined in resourcesPreset is applied.object{}
filer.resources.cpuNumber of CPU cores allocated.quantity""
filer.resources.memoryAmount of memory allocated.quantity""
filer.resourcesPresetDefault sizing preset used when resources is omitted.stringsmall
filer.grpcHostThe hostname used to expose or access the filer service externally.string""
filer.grpcPortThe port used to access the filer service externally.int443
filer.whitelistA list of IP addresses or CIDR ranges that are allowed to access the filer service.[]string[]
volumeVolume service configuration.object{}
volume.replicasNumber of volume replicas.int2
volume.sizePersistent Volume size.quantity10Gi
volume.storageClassStorageClass used to store the data.string""
volume.diskTypeSeaweedFS disk type tag for the default volume servers (e.g., “hdd”, “ssd”).string""
volume.resourcesExplicit CPU and memory configuration. When omitted, the preset defined in resourcesPreset is applied.object{}
volume.resources.cpuNumber of CPU cores allocated.quantity""
volume.resources.memoryAmount of memory allocated.quantity""
volume.resourcesPresetDefault sizing preset used when resources is omitted.stringsmall
volume.zonesA map of zones for MultiZone topology. Each zone can have its own number of replicas and size.map[string]object{}
volume.zones[name].replicasNumber of replicas in the zone.int0
volume.zones[name].sizeZone storage size.quantity""
volume.zones[name].dataCenterSeaweedFS data center name for this zone. Defaults to the zone name.string""
volume.zones[name].nodeSelectorYAML nodeSelector for this zone (default: topology.kubernetes.io/zone: ).string""
volume.zones[name].storageClassStorageClass used to store zone data. Defaults to volume.storageClass.string""
volume.zones[name].poolsA map of storage pools for this zone. Each pool creates a separate Volume StatefulSet per zone.map[string]object{}
volume.zones[name].pools[name].diskTypeSeaweedFS disk type tag (e.g., “ssd”, “hdd”, “nvme”).string""
volume.zones[name].pools[name].replicasNumber of volume replicas. Defaults to volume.replicas (Simple) or zone.replicas/volume.replicas (MultiZone).int0
volume.zones[name].pools[name].sizePersistent Volume size. Defaults to volume.size (Simple) or zone.size/volume.size (MultiZone).quantity""
volume.zones[name].pools[name].storageClassKubernetes StorageClass for the pool. Defaults to volume.storageClass.string""
volume.zones[name].pools[name].resourcesExplicit CPU and memory configuration. When omitted, the preset defined in resourcesPreset is applied.object{}
volume.zones[name].pools[name].resources.cpuNumber of CPU cores allocated.quantity""
volume.zones[name].pools[name].resources.memoryAmount of memory allocated.quantity""
volume.zones[name].pools[name].resourcesPresetDefault sizing preset used when resources is omitted. Defaults to volume.resourcesPreset.string{}
volume.poolsA map of storage pools. Each pool creates a separate Volume StatefulSet with its own disk type.map[string]object{}
volume.pools[name].diskTypeSeaweedFS disk type tag (e.g., “ssd”, “hdd”, “nvme”).string""
volume.pools[name].replicasNumber of volume replicas. Defaults to volume.replicas (Simple) or zone.replicas/volume.replicas (MultiZone).int0
volume.pools[name].sizePersistent Volume size. Defaults to volume.size (Simple) or zone.size/volume.size (MultiZone).quantity""
volume.pools[name].storageClassKubernetes StorageClass for the pool. Defaults to volume.storageClass.string""
volume.pools[name].resourcesExplicit CPU and memory configuration. When omitted, the preset defined in resourcesPreset is applied.object{}
volume.pools[name].resources.cpuNumber of CPU cores allocated.quantity""
volume.pools[name].resources.memoryAmount of memory allocated.quantity""
volume.pools[name].resourcesPresetDefault sizing preset used when resources is omitted. Defaults to volume.resourcesPreset.string{}
s3S3 service configuration.object{}
s3.replicasNumber of S3 replicas.int2
s3.resourcesExplicit CPU and memory configuration. When omitted, the preset defined in resourcesPreset is applied.object{}
s3.resources.cpuNumber of CPU cores allocated.quantity""
s3.resources.memoryAmount of memory allocated.quantity""
s3.resourcesPresetDefault sizing preset used when resources is omitted.stringsmall