config: remove grpc server max connection age options (#2427)

* config: remove grpc server max connection age options

* remove docs
This commit is contained in:
Caleb Doxsey 2021-08-03 09:39:48 -06:00 committed by GitHub
parent 56bbc31517
commit 94eb3c1149
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 214 additions and 306 deletions

View file

@ -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

View file

@ -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`

View file

@ -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: |