forked from TrueCloudLab/frostfs-s3-gw
parent
cab758d8ce
commit
18c7d669e0
4 changed files with 19 additions and 7 deletions
|
@ -31,6 +31,7 @@ This document outlines major changes between releases.
|
||||||
- CompleteMultipartUpload handler now sends whitespace characters to keep alive client's connection (#60)
|
- CompleteMultipartUpload handler now sends whitespace characters to keep alive client's connection (#60)
|
||||||
- Support new system attributes (#64)
|
- Support new system attributes (#64)
|
||||||
- Changed values for `frostfs_s3_gw_state_health` metric (#91)
|
- Changed values for `frostfs_s3_gw_state_health` metric (#91)
|
||||||
|
- Support multiple tree service endpoints (#74)
|
||||||
|
|
||||||
## [0.26.0] - 2022-12-28
|
## [0.26.0] - 2022-12-28
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,8 @@ S3_GW_CONFIG=/path/to/config/yaml
|
||||||
# Logger
|
# Logger
|
||||||
S3_GW_LOGGER_LEVEL=debug
|
S3_GW_LOGGER_LEVEL=debug
|
||||||
|
|
||||||
# Endpoint of the tree service. Must be provided. Can be one of the node address (from the `peers` section).
|
# Endpoints of the tree service. At least one endpoint must be provided. Node addresses (from the `peers` section) can be used.
|
||||||
S3_GW_TREE_SERVICE=grpc://s01.frostfs.devenv:8080
|
S3_GW_TREE_SERVICE=grpc://s01.frostfs.devenv:8080 grpc://s02.frostfs.devenv:8080
|
||||||
|
|
||||||
# RPC endpoint and order of resolving of bucket names
|
# RPC endpoint and order of resolving of bucket names
|
||||||
S3_GW_RPC_ENDPOINT=http://morph-chain.frostfs.devenv:30333/
|
S3_GW_RPC_ENDPOINT=http://morph-chain.frostfs.devenv:30333/
|
||||||
|
|
|
@ -44,9 +44,11 @@ listen_domains:
|
||||||
logger:
|
logger:
|
||||||
level: debug
|
level: debug
|
||||||
|
|
||||||
# Endpoint of the tree service. Must be provided. Can be one of the node address (from the `peers` section).
|
# Endpoints of the tree service. At least one endpoint must be provided. Node addresses (from the `peers` section) can be used.
|
||||||
tree:
|
tree:
|
||||||
service: node1.frostfs:8080
|
service:
|
||||||
|
- node1.frostfs:8080
|
||||||
|
- node2.frostfs:8080
|
||||||
|
|
||||||
# RPC endpoint and order of resolving of bucket names
|
# RPC endpoint and order of resolving of bucket names
|
||||||
rpc_endpoint: http://morph-chain.frostfs.devenv:30333
|
rpc_endpoint: http://morph-chain.frostfs.devenv:30333
|
||||||
|
|
|
@ -337,14 +337,23 @@ logger:
|
||||||
|
|
||||||
### `tree` section
|
### `tree` section
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
tree:
|
||||||
|
service:
|
||||||
|
- s01.frostfs.devenv:8080
|
||||||
|
- s02.frostfs.devenv:8080
|
||||||
|
```
|
||||||
|
|
||||||
|
If you use only one endpoint, it can be provided as:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
tree:
|
tree:
|
||||||
service: s01.frostfs.devenv:8080
|
service: s01.frostfs.devenv:8080
|
||||||
```
|
```
|
||||||
|
|
||||||
| Parameter | Type | Default value | Description |
|
| Parameter | Type | Default value | Description |
|
||||||
|-----------|----------|---------------|------------------------------------------------------------------------------------------------------------|
|
|-----------|------------|---------------|-------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `service` | `string` | | Endpoint of the tree service. Must be provided. Can be one of the node address (from the `peers` section). |
|
| `service` | `[]string` | | Endpoints of the tree service. At least one endpoint must be provided. Node addresses (from the `peers` section) can be used. |
|
||||||
|
|
||||||
### `cache` section
|
### `cache` section
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue