Skip to content

Commit 57fa712

Browse files
linkvtJorTurFer
andauthored
fix(http-add-on): set endpointsCachePollingIntervalMS to actual min (#815)
Signed-off-by: Vincent Link <vlink@redhat.com> Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
1 parent 19bb53d commit 57fa712

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

http-add-on/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ their default values.
162162
| `interceptor.admin.port` | int | `9090` | The port for the interceptor's admin server to run on |
163163
| `interceptor.admin.service` | string | `"interceptor-admin"` | The name of the Kubernetes `Service` for the interceptor's admin service |
164164
| `interceptor.affinity` | object | `{}` | Affinity for pod scheduling ([docs](https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/)) |
165-
| `interceptor.endpointsCachePollingIntervalMS` | int | `250` | How often (in milliseconds) the interceptor does a full refresh of its endpoints cache. The interceptor will also use Kubernetes events to stay up-to-date with the endpoints cache changes. This duration is the maximum time it will take to see changes to the endpoints. |
165+
| `interceptor.endpointsCachePollingIntervalMS` | int | `1000` | How often (in milliseconds) the interceptor does a full refresh of its endpoints cache. The interceptor will also use Kubernetes events to stay up-to-date with the endpoints cache changes. This duration is the maximum time it will take to see changes to the endpoints. |
166166
| `interceptor.expectContinueTimeout` | string | `"1s"` | Special handling for responses with "Expect: 100-continue" response headers. see https://pkg.go.dev/net/http#Transport under the 'ExpectContinueTimeout' field for more details |
167167
| `interceptor.extraEnvs` | object | `{}` | Extra environment variables to set (key-value map with "ENV name":"value") |
168168
| `interceptor.forceHTTP2` | bool | `false` | Whether or not the interceptor should force requests to use HTTP/2 |

http-add-on/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ interceptor:
170170
# -- How long the interceptor will wait between forwarding a request to a backend and receiving response headers back before failing the request
171171
responseHeaderTimeout: 500ms
172172
# -- How often (in milliseconds) the interceptor does a full refresh of its endpoints cache. The interceptor will also use Kubernetes events to stay up-to-date with the endpoints cache changes. This duration is the maximum time it will take to see changes to the endpoints.
173-
endpointsCachePollingIntervalMS: 250
173+
endpointsCachePollingIntervalMS: 1000
174174
# -- Whether or not the interceptor should force requests to use HTTP/2
175175
forceHTTP2: false
176176
# -- The maximum number of idle connections allowed in the interceptor's in-memory connection pool. Set to 0 to indicate no limit

0 commit comments

Comments
 (0)