redis haproxy: timeouts configurable (#17364)

Signed-off-by: Olaf Klischat <o.klischat@syseleven.de>
This commit is contained in:
Olaf Klischat
2019-09-24 00:31:27 -07:00
committed by Kubernetes Prow Robot
parent 6f8ce75e2c
commit 939e153629
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ keywords:
- redis
- keyvalue
- database
version: 3.7.9
version: 3.7.10
appVersion: 5.0.5
description: Highly available Kubernetes implementation of Redis
icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png
+3
View File
@@ -98,6 +98,9 @@ The following table lists the configurable parameters of the Redis chart and the
| `haproxy.exporter.enabled`| Enable Prometheus metric scraping | `false` |
| `haproxy.exporter.port` | Prometheus metric scraping port | `9101` |
| `haproxy.init.resources` | Extra init resources | `{}` |
| `haproxy.timeout.connect` | haproxy.cfg `timeout connect` setting | `4s` |
| `haproxy.timeout.server` | haproxy.cfg `timeout server` setting | `30s` |
| `haproxy.timeout.client` | haproxy.cfg `timeout client` setting | `30s` |
| `podDisruptionBudget` | Pod Disruption Budget rules | `{}` |
| `hostPath.path` | Use this path on the host for data storage | not set |
| `hostPath.chown` | Run an init-container as root to set ownership on the hostPath | `true` |
@@ -143,9 +143,9 @@ data:
{{- else }}
defaults REDIS
mode tcp
timeout connect 4s
timeout server 30s
timeout client 30s
timeout connect {{ .Values.haproxy.timeout.connect }}
timeout server {{ .Values.haproxy.timeout.server }}
timeout client {{ .Values.haproxy.timeout.client }}
listen health_check_http_url
bind :8888
+4
View File
@@ -54,6 +54,10 @@ haproxy:
port: 9101
init:
resources: {}
timeout:
connect: 4s
server: 30s
client: 30s
## Role Based Access