mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-09 23:27:43 +02:00
config: remove grpc server max connection age options (#2427)
* config: remove grpc server max connection age options * remove docs
This commit is contained in:
parent
56bbc31517
commit
94eb3c1149
7 changed files with 214 additions and 306 deletions
|
@ -5,6 +5,11 @@ description: >-
|
|||
for Pomerium. Please read it carefully.
|
||||
---
|
||||
|
||||
# Since 0.14.0
|
||||
|
||||
## Breaking
|
||||
|
||||
The unused `grpc_server_max_connection_age` and `grpc_server_max_connection_age_grace` options were removed.
|
||||
# Since 0.13.0
|
||||
|
||||
## New
|
||||
|
|
|
@ -384,28 +384,6 @@ Maximum time before canceling an upstream gRPC request. During transient failure
|
|||
Enable gRPC DNS based round robin load balancing. This method uses DNS to resolve endpoints and does client side load balancing of _all_ addresses returned by the DNS record. Do not disable unless you have a specific use case.
|
||||
|
||||
|
||||
#### GRPC Server Max Connection Age
|
||||
- Environmental Variable: `GRPC_SERVER_MAX_CONNECTION_AGE`
|
||||
- Config File Key: `grpc_server_max_connection_age`
|
||||
- Type: [Go Duration](https://golang.org/pkg/time/#Duration.String) `string`
|
||||
- Default: `5m`
|
||||
|
||||
Set max connection age for GRPC servers. After this interval, servers ask clients to reconnect and perform any rediscovery for new/updated endpoints from DNS.
|
||||
|
||||
See <https://godoc.org/google.golang.org/grpc/keepalive#ServerParameters> for details
|
||||
|
||||
|
||||
#### GRPC Server Max Connection Age Grace
|
||||
- Environmental Variable: `GRPC_SERVER_MAX_CONNECTION_AGE_GRACE`
|
||||
- Config File Key: `grpc_server_max_connection_age_grace`
|
||||
- Type: [Go Duration](https://golang.org/pkg/time/#Duration.String) `string`
|
||||
- Default: `5m`
|
||||
|
||||
Additive period with `grpc_server_max_connection_age`, after which servers will force connections to close.
|
||||
|
||||
See <https://godoc.org/google.golang.org/grpc/keepalive#ServerParameters> for details
|
||||
|
||||
|
||||
### HTTP Redirect Address
|
||||
- Environmental Variable: `HTTP_REDIRECT_ADDR`
|
||||
- Config File Key: `http_redirect_addr`
|
||||
|
|
|
@ -436,32 +436,6 @@ settings:
|
|||
- Default: `true`
|
||||
doc: |
|
||||
Enable gRPC DNS based round robin load balancing. This method uses DNS to resolve endpoints and does client side load balancing of _all_ addresses returned by the DNS record. Do not disable unless you have a specific use case.
|
||||
- name: "GRPC Server Max Connection Age"
|
||||
keys: ["grpc_server_max_connection_age"]
|
||||
attributes: |
|
||||
- Environmental Variable: `GRPC_SERVER_MAX_CONNECTION_AGE`
|
||||
- Config File Key: `grpc_server_max_connection_age`
|
||||
- Type: [Go Duration](https://golang.org/pkg/time/#Duration.String) `string`
|
||||
- Default: `5m`
|
||||
doc: |
|
||||
Set max connection age for GRPC servers. After this interval, servers ask clients to reconnect and perform any rediscovery for new/updated endpoints from DNS.
|
||||
|
||||
See <https://godoc.org/google.golang.org/grpc/keepalive#ServerParameters> for details
|
||||
shortdoc: |
|
||||
Set max connection age for GRPC servers.
|
||||
- name: "GRPC Server Max Connection Age Grace"
|
||||
keys: ["grpc_server_max_connection_age_grace"]
|
||||
attributes: |
|
||||
- Environmental Variable: `GRPC_SERVER_MAX_CONNECTION_AGE_GRACE`
|
||||
- Config File Key: `grpc_server_max_connection_age_grace`
|
||||
- Type: [Go Duration](https://golang.org/pkg/time/#Duration.String) `string`
|
||||
- Default: `5m`
|
||||
doc: |
|
||||
Additive period with `grpc_server_max_connection_age`, after which servers will force connections to close.
|
||||
|
||||
See <https://godoc.org/google.golang.org/grpc/keepalive#ServerParameters> for details
|
||||
shortdoc: |
|
||||
Additive period after which servers will force connections to close.
|
||||
- name: "HTTP Redirect Address"
|
||||
keys: ["http_redirect_addr"]
|
||||
attributes: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue