-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhaproxyconf.yaml
More file actions
42 lines (38 loc) · 891 Bytes
/
haproxyconf.yaml
File metadata and controls
42 lines (38 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apiVersion: v1
data:
haproxy.cfg: |
global
maxconn 4000
daemon
tune.ssl.default-dh-param 2048
tune.ssl.cachesize 1000000
defaults
retries 3
log global
mode http
timeout connect 3s
timeout client 30s
timeout server 30s
timeout check 2s
timeout http-request 5s
timeout http-keep-alive 15s
option redispatch
option dontlognull
backlog 10000
compression algo gzip
# haproxy stats
listen stats
bind :9000
stats enable
stats uri /
listen opensearch
bind :9200
mode tcp
server opensearch opensearch.opensearch:9200 check
listen opensearch-dashboards
bind :5601
mode tcp
server opensearch-dashboards opensearch-dashboards.opensearch:5601 check
kind: ConfigMap
metadata:
name: haproxyconf