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
|
||||
- Exposure of pool metrics (#615)
|
||||
- Configuration of `set_copies_number` (#634)
|
||||
### Changed
|
||||
- Improved wallet configuration via `.yaml` config and environment variables (#607)
|
||||
### 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.
|
||||
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.
|
||||
cors:
|
||||
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
|
||||
|
|
|
@ -120,19 +120,20 @@ There are some custom types used for brevity:
|
|||
|
||||
### Structure
|
||||
|
||||
| Section | Description |
|
||||
|--------------|-------------------------------------------------|
|
||||
| no section | [General parameters](#general-section) |
|
||||
| `wallet` | [Wallet configuration](#wallet-section) |
|
||||
| `peers` | [Nodes configuration](#peers-section) |
|
||||
| `tls` | [TLS configuration](#tls-section) |
|
||||
| `logger` | [Logger configuration](#logger-section) |
|
||||
| `tree` | [Tree configuration](#tree-section) |
|
||||
| `cache` | [Cache configuration](#cache-section) |
|
||||
| `nats` | [NATS configuration](#nats-section) |
|
||||
| `cors` | [CORS configuration](#cors-section) |
|
||||
| `pprof` | [Pprof configuration](#pprof-section) |
|
||||
| `prometheus` | [Prometheus configuration](#prometheus-section) |
|
||||
| Section | Description |
|
||||
|--------------|---------------------------------------------------|
|
||||
| no section | [General parameters](#general-section) |
|
||||
| `wallet` | [Wallet configuration](#wallet-section) |
|
||||
| `peers` | [Nodes configuration](#peers-section) |
|
||||
| `tls` | [TLS configuration](#tls-section) |
|
||||
| `logger` | [Logger configuration](#logger-section) |
|
||||
| `tree` | [Tree configuration](#tree-section) |
|
||||
| `cache` | [Cache configuration](#cache-section) |
|
||||
| `nats` | [NATS configuration](#nats-section) |
|
||||
| `cors` | [CORS configuration](#cors-section) |
|
||||
| `pprof` | [Pprof configuration](#pprof-section) |
|
||||
| `prometheus` | [Prometheus configuration](#prometheus-section) |
|
||||
| `neofs` | [Parameters of requests to NeoFS](#neofs-section) |
|
||||
|
||||
### General section
|
||||
|
||||
|
@ -364,3 +365,16 @@ prometheus:
|
|||
|-----------|----------|------------------|-----------------------------------------|
|
||||
| `enabled` | `bool` | `false` | Flag to enable the service. |
|
||||
| `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