forked from TrueCloudLab/frostfs-s3-gw
parent
5307211398
commit
ce543e910c
4 changed files with 38 additions and 13 deletions
|
@ -6,6 +6,7 @@ This document outlines major changes between releases.
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- Exposure of pool metrics (#615)
|
- Exposure of pool metrics (#615)
|
||||||
|
- Configuration of `set_copies_number` (#634)
|
||||||
### Changed
|
### Changed
|
||||||
- Improved wallet configuration via `.yaml` config and environment variables (#607)
|
- Improved wallet configuration via `.yaml` config and environment variables (#607)
|
||||||
### Removed
|
### Removed
|
||||||
|
|
|
@ -99,3 +99,7 @@ S3_GW_DEFAULT_POLICY="REP 3"
|
||||||
# value of Access-Control-Max-Age header if this value is not set in a rule. Has an int type.
|
# value of Access-Control-Max-Age header if this value is not set in a rule. Has an int type.
|
||||||
S3_GW_CORS_DEFAULT_MAX_AGE=600
|
S3_GW_CORS_DEFAULT_MAX_AGE=600
|
||||||
|
|
||||||
|
# Parameters of requests to NeoFS
|
||||||
|
# Number of the object copies to consider PUT to NeoFS successful.
|
||||||
|
# If not set, default value 0 will be used -- it means that object will be processed according to the container's placement policy
|
||||||
|
S3_GW_NEOFS_SET_COPIES_NUMBER=0
|
||||||
|
|
|
@ -111,3 +111,9 @@ default_policy: REP 3
|
||||||
# value of Access-Control-Max-Age header if this value is not set in a rule. Has an int type.
|
# value of Access-Control-Max-Age header if this value is not set in a rule. Has an int type.
|
||||||
cors:
|
cors:
|
||||||
default_max_age: 600
|
default_max_age: 600
|
||||||
|
|
||||||
|
# Parameters of requests to NeoFS
|
||||||
|
neofs:
|
||||||
|
# Number of the object copies to consider PUT to NeoFS successful.
|
||||||
|
# `0` means that object will be processed according to the container's placement policy
|
||||||
|
set_copies_number: 0
|
||||||
|
|
|
@ -121,7 +121,7 @@ There are some custom types used for brevity:
|
||||||
### Structure
|
### Structure
|
||||||
|
|
||||||
| Section | Description |
|
| Section | Description |
|
||||||
|--------------|-------------------------------------------------|
|
|--------------|---------------------------------------------------|
|
||||||
| no section | [General parameters](#general-section) |
|
| no section | [General parameters](#general-section) |
|
||||||
| `wallet` | [Wallet configuration](#wallet-section) |
|
| `wallet` | [Wallet configuration](#wallet-section) |
|
||||||
| `peers` | [Nodes configuration](#peers-section) |
|
| `peers` | [Nodes configuration](#peers-section) |
|
||||||
|
@ -133,6 +133,7 @@ There are some custom types used for brevity:
|
||||||
| `cors` | [CORS configuration](#cors-section) |
|
| `cors` | [CORS configuration](#cors-section) |
|
||||||
| `pprof` | [Pprof configuration](#pprof-section) |
|
| `pprof` | [Pprof configuration](#pprof-section) |
|
||||||
| `prometheus` | [Prometheus configuration](#prometheus-section) |
|
| `prometheus` | [Prometheus configuration](#prometheus-section) |
|
||||||
|
| `neofs` | [Parameters of requests to NeoFS](#neofs-section) |
|
||||||
|
|
||||||
### General section
|
### General section
|
||||||
|
|
||||||
|
@ -364,3 +365,16 @@ prometheus:
|
||||||
|-----------|----------|------------------|-----------------------------------------|
|
|-----------|----------|------------------|-----------------------------------------|
|
||||||
| `enabled` | `bool` | `false` | Flag to enable the service. |
|
| `enabled` | `bool` | `false` | Flag to enable the service. |
|
||||||
| `address` | `string` | `localhost:8086` | Address that service listener binds to. |
|
| `address` | `string` | `localhost:8086` | Address that service listener binds to. |
|
||||||
|
|
||||||
|
# `neofs` section
|
||||||
|
|
||||||
|
Contains parameters of requests to NeoFS.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
neofs:
|
||||||
|
set_copies_number: 0
|
||||||
|
```
|
||||||
|
|
||||||
|
| Parameter | Type | Default value | Description |
|
||||||
|
|---------------------|----------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| `set_copies_number` | `uint32` | `0` | Number of the object copies to consider PUT to NeoFS successful. <br/>Default value `0` means that object will be processed according to the container's placement policy |
|
||||||
|
|
Loading…
Reference in a new issue