forked from TrueCloudLab/frostfs-node
[#1604] config: Change yaml example a bit
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>support/v0.30
parent
e5c0338f8c
commit
eeef83a74c
|
@ -45,19 +45,16 @@ node:
|
||||||
ca: "/ca/path" # path to optional CA certificate
|
ca: "/ca/path" # path to optional CA certificate
|
||||||
|
|
||||||
grpc:
|
grpc:
|
||||||
0:
|
- endpoint: s01.neofs.devenv:8080 # endpoint for gRPC server
|
||||||
endpoint: s01.neofs.devenv:8080 # endpoint for gRPC server
|
|
||||||
tls:
|
tls:
|
||||||
enabled: true # use TLS for a gRPC connection (min version is TLS 1.2)
|
enabled: true # use TLS for a gRPC connection (min version is TLS 1.2)
|
||||||
certificate: /path/to/cert # path to TLS certificate
|
certificate: /path/to/cert # path to TLS certificate
|
||||||
key: /path/to/key # path to TLS key
|
key: /path/to/key # path to TLS key
|
||||||
|
|
||||||
1:
|
- endpoint: s02.neofs.devenv:8080 # endpoint for gRPC server
|
||||||
endpoint: s02.neofs.devenv:8080 # endpoint for gRPC server
|
|
||||||
tls:
|
tls:
|
||||||
enabled: false # use TLS for a gRPC connection
|
enabled: false # use TLS for a gRPC connection
|
||||||
2:
|
- endpoint: s03.neofs.devenv:8080
|
||||||
endpoint: s03.neofs.devenv:8080
|
|
||||||
tls:
|
tls:
|
||||||
enabled: true
|
enabled: true
|
||||||
use_insecure_crypto: true # allow using insecure ciphers with TLS 1.2
|
use_insecure_crypto: true # allow using insecure ciphers with TLS 1.2
|
||||||
|
@ -114,7 +111,7 @@ storage:
|
||||||
writecache:
|
writecache:
|
||||||
enabled: true
|
enabled: true
|
||||||
memcache_capacity: 2147483648 # approximate RAM usage limit for "small" objects, bytes
|
memcache_capacity: 2147483648 # approximate RAM usage limit for "small" objects, bytes
|
||||||
small_object_size: 16384 # size threshold for "small" objects which are cached in key-value DB, not in FS, bytes
|
small_object_size: 16k # size threshold for "small" objects which are cached in key-value DB, not in FS, bytes
|
||||||
max_object_size: 134217728 # size threshold for "big" objects which bypass write-cache and go to the storage directly, bytes
|
max_object_size: 134217728 # size threshold for "big" objects which bypass write-cache and go to the storage directly, bytes
|
||||||
workers_number: 30 # number of write-cache flusher threads
|
workers_number: 30 # number of write-cache flusher threads
|
||||||
|
|
||||||
|
@ -127,10 +124,10 @@ storage:
|
||||||
compress: false # turn on/off zstd(level 3) compression of stored objects
|
compress: false # turn on/off zstd(level 3) compression of stored objects
|
||||||
perm: 0644 # permissions for blobstor files(directories: +x for current user and group)
|
perm: 0644 # permissions for blobstor files(directories: +x for current user and group)
|
||||||
depth: 5 # max depth of object tree storage in FS
|
depth: 5 # max depth of object tree storage in FS
|
||||||
small_object_size: 102400 # size threshold for "small" objects which are cached in key-value DB, not in FS, bytes
|
small_object_size: 100 kb # size threshold for "small" objects which are cached in key-value DB, not in FS, bytes
|
||||||
|
|
||||||
blobovnicza:
|
blobovnicza:
|
||||||
size: 4194304 # approximate size limit of single blobovnicza instance, total size will be: size*width^(depth+1), bytes
|
size: 4m # approximate size limit of single blobovnicza instance, total size will be: size*width^(depth+1), bytes
|
||||||
depth: 1 # max depth of object tree storage in key-value DB
|
depth: 1 # max depth of object tree storage in key-value DB
|
||||||
width: 4 # max width of object tree storage in key-value DB
|
width: 4 # max width of object tree storage in key-value DB
|
||||||
opened_cache_capacity: 50 # maximum number of opened database files
|
opened_cache_capacity: 50 # maximum number of opened database files
|
||||||
|
@ -167,7 +164,7 @@ storage:
|
||||||
1:
|
1:
|
||||||
writecache:
|
writecache:
|
||||||
path: tmp/1/cache # write-cache root directory
|
path: tmp/1/cache # write-cache root directory
|
||||||
capacity: 4294967296 # approximate write-cache total size, bytes
|
capacity: 4 G # approximate write-cache total size, bytes
|
||||||
|
|
||||||
metabase:
|
metabase:
|
||||||
path: tmp/1/meta # metabase path
|
path: tmp/1/meta # metabase path
|
||||||
|
|
Loading…
Reference in New Issue